summaryrefslogtreecommitdiff
path: root/src/tagline.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 17:01:35 -0300
committerGabriel Schneider <[email protected]>2026-10-29 21:13:33 -0300
commit70de5ec5ff3dad01afcc45244ad5e5a481486da6 (patch)
treecd4b723dcc2cfd94c4ba2361c134927b0e2df60b /src/tagline.zig
parent349790339897466f323ff28748916aa48aa344f7 (diff)
downloadpardes-70de5ec5ff3dad01afcc45244ad5e5a481486da6.tar.gz
pardes-70de5ec5ff3dad01afcc45244ad5e5a481486da6.zip
dump: one walker dump of the whole session, by name across builds, for Restore, -l, Handover and the store; dump.zig's hand-written schema gone
A dump is walk.zig's walk of the core with a table of every type it reaches (fields, enum and union names, number widths), read back by name; terminals are ghostty's snapshot (screens, history, kitty images); a failed load frees what it made. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/tagline.zig')
-rw-r--r--src/tagline.zig8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tagline.zig b/src/tagline.zig
index f669e98b..7af9ba66 100644
--- a/src/tagline.zig
+++ b/src/tagline.zig
@@ -10,7 +10,6 @@ const edit = @import("edit.zig");
const exec = @import("exec.zig");
const config = @import("config.zig");
const pdf_enabled = panes.Pdf.enabled;
-const dump = @import("dump.zig");
const Layer = @import("Layer.zig");
const Pane = panes.Pane;
const Text = panes.Text;
@@ -424,13 +423,6 @@ pub fn enterHeader(p: *Pardes, column: ?usize) void {
t.normal.clear();
}
-/// A dump's tag tail, what was typed after the name: a dump from 0.4 on
-/// writes it, and an older one's saved tag is not read.
-pub fn restoreDumpTail(p: *Pardes, pane: *Pane, src: dump.Pane) void {
- const tail = src.tag_tail orelse return;
- pane.tag.own = p.gpa.dupe(u8, tail) catch return;
-}
-
/// The span a header's selection covers on line `row` of its text, in
/// that line's bytes: up to the caret while typing, and over the
/// cursor's own cell too in normal mode, where a cursor is a cell.