diff options
Diffstat (limited to 'test/macos_e2e.swift')
| -rw-r--r-- | test/macos_e2e.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/macos_e2e.swift b/test/macos_e2e.swift index 4438e942..a4998d39 100644 --- a/test/macos_e2e.swift +++ b/test/macos_e2e.swift @@ -1187,6 +1187,7 @@ private final class Driver: PardesViewDelegate { /// `pgup`/`pageup`) so a script reads the same in either suite. private func keyStroke(_ name: String) throws -> (cp: UInt32, mods: UInt32) { switch name { + case "space": return (32, 0) case "enter", "ret": return (UInt32(PARDES_KEY_ENTER), 0) case "escape", "esc": return (UInt32(PARDES_KEY_ESCAPE), 0) case "tab": return (UInt32(PARDES_KEY_TAB), 0) |
