From 70de5ec5ff3dad01afcc45244ad5e5a481486da6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 29 Oct 2026 17:01:35 -0300 Subject: 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 --- src/tagline.zig | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/tagline.zig') 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. -- cgit v1.3