diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-29 19:36:11 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-29 21:13:33 -0300 |
| commit | cc26fe74e092803ac2977801bf6510e05b394c29 (patch) | |
| tree | edb5461b54c26269cefbe0407df9bed89d07182d /src | |
| parent | 2eb8860b2ca05c426f3962661441aaee13d3be44 (diff) | |
| download | pardes-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')
| -rw-r--r-- | src/host_io.zig | 2 | ||||
| -rw-r--r-- | src/main.zig | 2 | ||||
| -rw-r--r-- | src/web.zig | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/host_io.zig b/src/host_io.zig index 99ada59b..7b0fe9a2 100644 --- a/src/host_io.zig +++ b/src/host_io.zig @@ -70,7 +70,7 @@ pub fn testClock() ?u64 { } pub const Fallback = struct { - pub const dump_path = "pardes.dump.zon"; + pub const dump_path = "pardes.dump"; gpa: std.mem.Allocator, files: std.StringHashMapUnmanaged([]u8) = .empty, diff --git a/src/main.zig b/src/main.zig index 0708e9d7..ac2226ae 100644 --- a/src/main.zig +++ b/src/main.zig @@ -73,7 +73,7 @@ const help_text = \\ -n <count> initial shell panes: 1 (default) or 3 (classic). \\ A FILE argument boots just that file instead. \\ --tty-toggle <key> use Ctrl-<key> to toggle tty/editor mode - \\ -l <dump.zon> load a dump of another instance (see Dump) + \\ -l <dump> load a dump of another instance (see Dump) \\ -w, --wait inside a pardes pane, hand FILE to the outer \\ session and return only once the pane it opened \\ (or already had) is deleted: 0 then, 1 if the 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); } |
