summaryrefslogtreecommitdiff
path: root/src/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 09:22:10 -0300
committerGabriel Schneider <[email protected]>2026-11-10 09:29:11 -0300
commite617ee11b6fafd48278ef0e371fa1981f8559413 (patch)
tree106b973366d1905e38b009b8b5b1d3005b8eb4ba /src/builtins.zig
parent3eb166e287ec5afbd54b03a86711610e1b5269b6 (diff)
downloadpardes-e617ee11b6fafd48278ef0e371fa1981f8559413.tar.gz
pardes-e617ee11b6fafd48278ef0e371fa1981f8559413.zip
history: a +History row reads `Restore <label>` before its date, size and panes, and a click on that Restore (an exec, or a look) is a Restore of that row's dump, exec.operandAt expanding the word to the label beside it as the row reads, where a bare Restore would have been this session's last dump; a look of the whole row reads past the word; the behaviour test clicks a row's Restore and looks at a row
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.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index b715bae1..6214861d 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1701,9 +1701,9 @@ 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, its label,
-/// date, size, pane count and the panes' names; a look at a row is a
-/// Restore of its label.
+/// 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.
pub const History = struct {
pub const scope: Scope = .session;
pub const output: OutputTraits = .{ .name = config.history_buffer };