summaryrefslogtreecommitdiff
path: root/test/snapshots/ttyhelp.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/ttyhelp.snap')
-rw-r--r--test/snapshots/ttyhelp.snap21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/snapshots/ttyhelp.snap b/test/snapshots/ttyhelp.snap
new file mode 100644
index 00000000..48323189
--- /dev/null
+++ b/test/snapshots/ttyhelp.snap
@@ -0,0 +1,21 @@
+# bare boot = tty mode: SPC belongs to the shell, so the topbar Help word is
+# the only route to the command list. Row 0 is not a pane, so a middle-click
+# there is dispatched before any pane's mode is consulted.
+start 30 100
+wait 8000 Kill Newcol
+stable 700 20000
+snap boot
+press middle 51 1
+release middle 51 1
+wait 10000 pardes builtins
+stable 700 15000
+snap helped
+# and the shell is untouched: still TTY, still at its prompt. The click went to
+# row 0, which is not a pane, so the terminal never saw it.
+key c-b
+stable 600 10000
+key space
+key ?
+wait 10000 SPC c n
+stable 700 15000
+snap leaderworks