diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-29 19:09:26 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-29 21:13:33 -0300 |
| commit | 2eb8860b2ca05c426f3962661441aaee13d3be44 (patch) | |
| tree | 8d363280576cc86db7209ef37c6210a0d5b75c8e /test/web-snapshots/touch-fixture.zig | |
| parent | e4cfd57bc41c5740e3a823a8f05d70d3e87b68ca (diff) | |
| download | pardes-2eb8860b2ca05c426f3962661441aaee13d3be44.tar.gz pardes-2eb8860b2ca05c426f3962661441aaee13d3be44.zip | |
web: the browser shell builds again and loads a dump of a native build: a theme by its name, a field compiled out passed over, no disk asked; touch.dump replaces the hand-written ZON fixture
Fixed for wasm32-freestanding: counts as usize, no threads, stb_image, tape or
host stat there. touch.mjs follows the renderer's 13 tag-layer fields, helix's
retuned colours and the tag column.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/web-snapshots/touch-fixture.zig')
| -rw-r--r-- | test/web-snapshots/touch-fixture.zig | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/test/web-snapshots/touch-fixture.zig b/test/web-snapshots/touch-fixture.zig new file mode 100644 index 00000000..b1d5d81e --- /dev/null +++ b/test/web-snapshots/touch-fixture.zig @@ -0,0 +1,58 @@ +pub fn choose(value: u32) []const u8 { + if (value == 42) return "touch fixture"; + return "/virtual/pane/1/body"; +} + +pub const rows = [_]u32{ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, +};
\ No newline at end of file |
