Save changes prompt: arrow keys pick the button, Enter gives it (#683)
In the save-changes prompt, Left and Right pick a button and Enter gives it.
This commit is contained in:
1 parent
fe1e5f1b95
commit
d1a773a684
2 files changed
+41
-5
No files matched your search
@@ -10,7 +10,17 @@
|
||||
{"expect": {"shown": "Don't Save", "quit_requested": false}},
|
||||
{"key": "Escape"},
|
||||
{"expect": {"not_shown": "Don't Save", "quitting": false, "quit_requested": false}},
|
||||
{"note": "Left and Right pick a button (Save first, stopping at the ends) and Enter gives it."},
|
||||
{"call": "app.quit"},
|
||||
{"widget": "Don't Save"},
|
||||
{"key": "ArrowRight"},
|
||||
{"key": "ArrowRight"},
|
||||
{"key": "ArrowRight"},
|
||||
{"key": "Enter"},
|
||||
{"expect": {"not_shown": "Don't Save", "quitting": false, "quit_requested": false, "bodies": 1}},
|
||||
{"call": "app.quit"},
|
||||
{"key": "ArrowRight"},
|
||||
{"key": "ArrowRight"},
|
||||
{"key": "ArrowLeft"},
|
||||
{"key": "Enter"},
|
||||
{"expect": {"quit_requested": true}}
|
||||
]
|
||||
Reference in new issue
Block a user