diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-26 22:45:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | fc3b5633cb00f2c0495b940c3f1fb07000502819 (patch) | |
| tree | ad3048abb72f3bbf2e810894d161b155f7958a5b /test | |
| parent | 830aa98067d1c3f0a88bfbcae0ef9acfdc6b3ff0 (diff) | |
| download | pardes-fc3b5633cb00f2c0495b940c3f1fb07000502819.tar.gz pardes-fc3b5633cb00f2c0495b940c3f1fb07000502819.zip | |
Esc in an output pane's body runs Del: +Search/+Help dismiss themselves
Diffstat (limited to 'test')
| -rw-r--r-- | test/snapshots/leader.golden | 41 | ||||
| -rw-r--r-- | test/snapshots/leader.snap | 7 |
2 files changed, 48 insertions, 0 deletions
diff --git a/test/snapshots/leader.golden b/test/snapshots/leader.golden index 9bf559c0..d89997f1 100644 --- a/test/snapshots/leader.golden +++ b/test/snapshots/leader.golden @@ -367,3 +367,44 @@ | 16 SPC w Save | 17 | +== snap esc-del grid=100x40 cursor=7,2 +|Kill Newcol Tutor Debug Colors NextColor Crt Dump +| NOR /tmp/pardes-snap/leader/cwd/cmds.txt Save De NOR /tmp/pardes-snap/leader/cwd Del +| 1 Help +| cmds.txt +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| diff --git a/test/snapshots/leader.snap b/test/snapshots/leader.snap index 9da5f288..26d11cd7 100644 --- a/test/snapshots/leader.snap +++ b/test/snapshots/leader.snap @@ -62,3 +62,10 @@ key ? wait 10000 SPC s r stable 700 15000 snap help-all +# Esc in the BODY of an output buffer IS Del: +Help has no file behind it and +# nothing worth keeping, so the key that elsewhere only drops a selection +# dismisses the whole pane and hands its height back to the pane above. +key esc +settle 700 +stable 700 15000 +snap esc-del |
