diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-27 00:34:10 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 950a616e45f76349c3f029e6032cce7cadc2b4e3 (patch) | |
| tree | 595b04e4863e2b62214223afc77244d6ef9987c4 /test/snapshots | |
| parent | a1f26fc4977b185cbd603749157360c011452e5e (diff) | |
| download | pardes-950a616e45f76349c3f029e6032cce7cadc2b4e3.tar.gz pardes-950a616e45f76349c3f029e6032cce7cadc2b4e3.zip | |
silence library std.log: ghostty-vt's unimplemented-sequence chatter was painting over the UI
Diffstat (limited to 'test/snapshots')
| -rw-r--r-- | test/snapshots/logquiet.golden | 31 | ||||
| -rw-r--r-- | test/snapshots/logquiet.snap | 16 |
2 files changed, 47 insertions, 0 deletions
diff --git a/test/snapshots/logquiet.golden b/test/snapshots/logquiet.golden new file mode 100644 index 00000000..86b1567a --- /dev/null +++ b/test/snapshots/logquiet.golden @@ -0,0 +1,31 @@ +== snap quiet grid=100x30 cursor=62,4 +|Kill Newcol Tutor Debug Colors NextColor Crt Dump +| TTY /tmp/pardes-snap/logquiet/cwd Del +| $ ls +| $ printf '\033_Ga=q,i=1,s=1,v=1,f=24,t=d;AAAA\033\\\033[>0p' +| $ '\033_Ga=q,i=1,s=1,v=1,f=24,t=d;AAAA\033\\\033[>0p'Gi=1;OK +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| +| diff --git a/test/snapshots/logquiet.snap b/test/snapshots/logquiet.snap new file mode 100644 index 00000000..02d52495 --- /dev/null +++ b/test/snapshots/logquiet.snap @@ -0,0 +1,16 @@ +# ghostty-vt narrates every sequence it does not implement through std.log, +# and a pardes child's stderr is this pty — so a library log line lands on the +# rendered grid, exactly where it does on a real user's terminal. The two +# sequences below are the cheapest ones that trip it: a kitty graphics query +# (`debug(kitty_gfx): executing kitty graphics command`) and a private CSI p +# (`warning(stream): ignoring unimplemented CSI p with intermediates: >`). +# The golden is the assertion that neither reaches the screen. +start 30 100 -n 1 +wait 8000 Kill Newcol +stable 700 20000 +key c-b +stable 600 8000 +text printf '\033_Ga=q,i=1,s=1,v=1,f=24,t=d;AAAA\033\\\033[>0p' +key enter +stable 700 20000 +snap quiet |
