diff options
Diffstat (limited to 'src/dump.zig')
| -rw-r--r-- | src/dump.zig | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/dump.zig b/src/dump.zig index 51221197..0f8cb810 100644 --- a/src/dump.zig +++ b/src/dump.zig @@ -68,8 +68,13 @@ pub const File = struct { path: []const u8 = "", content: []const u8 = "", content_b64: []const u8 = "", - /// an output buffer (no file behind the name) — see pardes.File.output - output: bool = false, + /// non-empty = an output buffer (no file behind the name): the WORD of the + /// command that opened it, plus that command's argument — see + /// output_pane.Origin. A word rather than an integer for the reason every + /// other command in here is a word: reordering builtins.zig stays free, + /// and a dump stays something a person can read. + origin: []const u8 = "", + origin_arg: []const u8 = "", }; pub const Image = struct { |
