summaryrefslogtreecommitdiff
path: root/test/snapshots/syntax.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-27 01:03:46 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit42c0524b94d67caebbf71cd8a82d7690380195fa (patch)
tree3608f786909c41f3a47d73d1a0b07c26ff1675bc /test/snapshots/syntax.snap
parent950a616e45f76349c3f029e6032cce7cadc2b4e3 (diff)
downloadpardes-42c0524b94d67caebbf71cd8a82d7690380195fa.tar.gz
pardes-42c0524b94d67caebbf71cd8a82d7690380195fa.zip
trim the taglines: image renderer toggles and Colors/Crt become leader-only
The image tag spelled out `Petscii <C64|Term> Ascii` and actOnSelection matched those words by hand before the builtin dispatch. They are three real Builtins now (SPC t p/l/a), so the by-word matching is gone, the tag is a plain `img <path> Del`, and with nothing live left in it the image early-returns in curTail, enterTagEdit and the tag-click guard go too — an image tag edits like every other pane's. Colors and Crt leave the topbar for SPC t c / SPC t r: set-once display switches should not spend width in a bar you read every frame. NextColor stays, it is the one you cycle repeatedly. Both remain full builtins. The snap scripts that clicked those words now press the leader instead, and images.snap finally exercises the palette and ascii toggles for real: its old clicks at x=57 landed on the neighbouring shell's tag, so that toggle had never been covered. The test PPM grew to 512x512 with LCG noise so the ASCII bitmaps actually win cells and dropping them visibly changes the art.
Diffstat (limited to 'test/snapshots/syntax.snap')
-rw-r--r--test/snapshots/syntax.snap12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/snapshots/syntax.snap b/test/snapshots/syntax.snap
index e39eb6c9..0aa85b71 100644
--- a/test/snapshots/syntax.snap
+++ b/test/snapshots/syntax.snap
@@ -1,5 +1,5 @@
# tree-sitter: open a .zig file, keyword/string/number/comment colors on;
-# Colors off clears them; edit re-highlights
+# Colors off (SPC t c) clears them; edit re-highlights
file demo.zig const std = @import("std"); // greet\npub fn main() void {\n var x: u32 = 42;\n _ = x;\n}
start 30 150 -n 3
wait 8000 demo.zig
@@ -17,11 +17,13 @@ wait 10000 @import
stable 700 15000
snap zig-open
snapstyle zig-open
-press middle 25 1
-release middle 25 1
+key space
+key t
+key c
stable 500 10000
snapstyle colors-off
-press middle 25 1
-release middle 25 1
+key space
+key t
+key c
stable 500 10000
snapstyle colors-on