diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-05 20:21:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | de4def3548a6729b0dfd2120495a61beef8c8c2c (patch) | |
| tree | 12144f0f64dc96bb4741459c1f9db57f44349330 /test/snapshots/syntax.snap | |
| parent | 7988d9bc6e31210ff13994f18d5622dd57ba9341 (diff) | |
| download | pardes-de4def3548a6729b0dfd2120495a61beef8c8c2c.tar.gz pardes-de4def3548a6729b0dfd2120495a61beef8c8c2c.zip | |
pardes v2: the rewrite, complete and organized. src/ (core + three shells), test/ (snapshot parity harness + 18 frozen goldens). One sans-IO core, vaxis tty + SDL3 GPU native + wasm web shells, 18/18 parity with the purged prototype, 7.6k lines vs 12.1k. Fix: gui shell pre-sized the core at init so the greet-releasing resize never fired (blank panes until first interaction); live sessions now init at defaults and get the real grid as a resize event (the shell contract, documented on Options).
Diffstat (limited to 'test/snapshots/syntax.snap')
| -rw-r--r-- | test/snapshots/syntax.snap | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/snapshots/syntax.snap b/test/snapshots/syntax.snap new file mode 100644 index 00000000..690e5d7d --- /dev/null +++ b/test/snapshots/syntax.snap @@ -0,0 +1,27 @@ +# tree-sitter: open a .zig file, keyword/string/number/comment colors on; +# Colors off 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 100 +wait 8000 demo.zig +stable 700 20000 +press left 5 8 +release left 5 8 +stable 400 5000 +key i +text demo.zig +key esc +settle 700 +press right 6 8 +release right 6 8 +wait 10000 @import +stable 700 15000 +snap zig-open +snapstyle zig-open +press middle 25 1 +release middle 25 1 +stable 500 10000 +snapstyle colors-off +press middle 25 1 +release middle 25 1 +stable 500 10000 +snapstyle colors-on |
