From 2eb8860b2ca05c426f3962661441aaee13d3be44 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 29 Oct 2026 19:09:26 -0300 Subject: 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 --- test/web-snapshots/touch-fixture.zig | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 test/web-snapshots/touch-fixture.zig (limited to 'test/web-snapshots/touch-fixture.zig') 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 -- cgit v1.3