diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-14 13:40:29 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-15 11:57:13 -0300 |
| commit | f67fec978a9296c651ec06bd2f43686d34ff86ee (patch) | |
| tree | cbf5568883e5888398e0887093fc5afc524fd54d /test/snapshots/ttytaken.snap | |
| parent | 9280c597b000eed661fd98793e182fdcb640f6cd (diff) | |
| download | pardes-f67fec978a9296c651ec06bd2f43686d34ff86ee.tar.gz pardes-f67fec978a9296c651ec06bd2f43686d34ff86ee.zip | |
look: richer path/range parsing, pdf rendering, corner-drag and stepgrain snapshots
Diffstat (limited to 'test/snapshots/ttytaken.snap')
| -rw-r--r-- | test/snapshots/ttytaken.snap | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/test/snapshots/ttytaken.snap b/test/snapshots/ttytaken.snap new file mode 100644 index 00000000..6505fc63 --- /dev/null +++ b/test/snapshots/ttytaken.snap @@ -0,0 +1,43 @@ +# Process monitoring, end to end. A pane whose tty is held by a full-screen +# program is not somewhere a command line may be typed: the SAME middle-drag +# Exec goes into the shell while it sits at its prompt, and into a NEW shell +# beside it once `less` owns the terminal — where it runs, instead of becoming +# keystrokes the pager would eat. Nothing about the pager's screen changes. +file cmd.txt echo TAKEN''ONE\necho TAKEN''TWO +lines big.txt 40 +start 30 100 -n 1 +wait 8000 cmd.txt +stable 700 20000 +# open the command file by looking its name in the greeting `ls` +press right 14 4 +release right 14 4 +wait 10000 echo TAKEN +stable 700 20000 +snap opened +# at the prompt: the drag runs in the shell that is already on this directory +press middle 8 3 +drag middle 22 3 +release middle 22 3 +wait 10000 TAKENONE +stable 700 20000 +snap at-prompt +# ...and now a pager owns that terminal. Ctrl-b is raw tty (config.tty_toggle), +# which is how a script types AT the shell instead of into the pane's own edit +# buffer — the same way exec.snap runs a command line. +press left 60 8 +release left 60 8 +stable 400 5000 +key c-b +stable 400 5000 +text env LESS= less big.txt +key enter +wait 10000 line 1 +stable 700 20000 +snap paging +# the same gesture on the second line: a new shell, not `less` keystrokes +press middle 8 4 +drag middle 22 4 +release middle 22 4 +wait 10000 TAKENTWO +stable 700 20000 +snap spawned |
