summaryrefslogtreecommitdiff
path: root/src/web.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 19:36:11 -0300
committerGabriel Schneider <[email protected]>2026-10-29 21:13:33 -0300
commitcc26fe74e092803ac2977801bf6510e05b394c29 (patch)
treeedb5461b54c26269cefbe0407df9bed89d07182d /src/web.zig
parent2eb8860b2ca05c426f3962661441aaee13d3be44 (diff)
downloadpardes-cc26fe74e092803ac2977801bf6510e05b394c29.tar.gz
pardes-cc26fe74e092803ac2977801bf6510e05b394c29.zip
web: a dump is a .dump by name everywhere (the download, the embedded fixture, -l's help); the touch check resizes a pane by its grip, there being no rule between panes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/web.zig')
-rw-r--r--src/web.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web.zig b/src/web.zig
index fd6371c0..5e5a0d74 100644
--- a/src/web.zig
+++ b/src/web.zig
@@ -13,7 +13,7 @@ const pardes = @import("pardes.zig");
const mouse = @import("mouse.zig");
const gpa = std.heap.wasm_allocator;
-const embedded_dump = @embedFile("embedded.dump.zon");
+const embedded_dump = @embedFile("embedded.dump");
const input_capacity = 64 * 1024;
const attr_tagline: u16 = 1 << 7;
@@ -484,7 +484,7 @@ fn writeFile(_: ?*anyopaque, _: u8, path: []const u8, bytes: []const u8) void {
}
fn writeDump(_: ?*anyopaque, bytes: []const u8) void {
- const name = "pardes-dump.zon";
+ const name = "pardes.dump";
host_download(name.ptr, name.len, bytes.ptr, bytes.len);
}