summaryrefslogtreecommitdiff
path: root/src/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 09:57:43 -0300
committerGabriel Schneider <[email protected]>2026-11-10 09:57:43 -0300
commita953f560f648e91dda8dd3a8dafe60a7f75739d0 (patch)
tree1ae6de86ede6b0e1464708c04478340609e4296e /src/builtins.zig
parent5033138d9e93e05dc961c0f7b93e46208d5df33d (diff)
downloadpardes-a953f560f648e91dda8dd3a8dafe60a7f75739d0.tar.gz
pardes-a953f560f648e91dda8dd3a8dafe60a7f75739d0.zip
history: each dump is the command that brings it back, `Restore <label>` on a line of its own, its date, size, pane count and names indented on the line under it, so the line is a whole command (a sweep of it, a click on its Restore, a look at it) and the details are read, not parsed; the builtins JSON, the reference and the changelog say so
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/builtins.zig')
-rw-r--r--src/builtins.zig7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index 6214861d..85bb6e44 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1701,9 +1701,10 @@ pub const Recent = struct {
};
/// List the state file's dumps, those Dump made and those every session's
-/// end left (dump.dumpExit), the newest first: a row each, `Restore
-/// <label>`, date, size, pane count and the panes' names; a click on a
-/// row's Restore (an exec, or a look at the row) is a Restore of its label.
+/// end left (dump.dumpExit), the newest first, each as the command that
+/// brings it back, `Restore <label>` on a line of its own, its date, size,
+/// pane count and the panes' names indented under it; a click on the
+/// Restore (an exec, or a look at the line) is that Restore.
pub const History = struct {
pub const scope: Scope = .session;
pub const output: OutputTraits = .{ .name = config.history_buffer };