summaryrefslogtreecommitdiff
path: root/test/snapshots/ttyhelp.snap
blob: 243998485e51394396baf0358dc806ec8215c14a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 31 100
wait 8000 Newcol Joincol
stable 700 20000
snap boot
press middle @Help 1
release middle @Help 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 ?
# The bare-tty boot now opens an empty pane under the shell, so the index is
# half as tall and `SPC c n` is below its fold: wait on a row that is on
# screen. What the leader route produced is the snapshot below, not this.
wait 10000 SPC a a   PanelAscii
stable 700 15000
snap leaderworks