diff options
Diffstat (limited to 'test/snapshots/ttyclick.snap')
| -rw-r--r-- | test/snapshots/ttyclick.snap | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/snapshots/ttyclick.snap b/test/snapshots/ttyclick.snap index 9654b590..a23de75b 100644 --- a/test/snapshots/ttyclick.snap +++ b/test/snapshots/ttyclick.snap @@ -1,19 +1,23 @@ # clicks in a shell pane never change its mode: a body click in raw tty -# keeps TTY (before: the press dropped it to NOR), a tag-edit round trip +# keeps tty (before: the press dropped it to normal), a tag-edit round trip # restores the mode it hijacked, and an insert-mode body click re-pins the -# cursor but stays INS. File panes keep the old behavior (click -> normal). +# cursor but stays insert. File panes keep the old behavior (click -> normal). +# The mode is the character in each pane's layout box: `•` normal, `^` insert, +# `$` tty. file probe.txt marker start 30 100 -n 3 wait 8000 probe.txt stable 700 20000 key c-b stable 600 8000 -# body click in raw tty: focus/selection only, mode stays TTY +# body click in raw tty: focus/selection only, the box stays `$` press left 10 4 release left 10 4 stable 400 5000 snap tty-bodyclick -# tag edit from tty: INS while editing, Esc restores TTY (not NOR) +# tag edit from tty: the box still reads `$` while the tag is being edited (the +# body mode is PARKED, which is the invariant), and Esc hands it back — a bug +# that lost it would show `•` in one snap or the other press left 40 2 release left 40 2 stable 400 5000 |
