diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 05:33:00 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | 9b623d635b79f97122f512153b974dfa434f85ab (patch) | |
| tree | 31b6c502d4777c64ef5315260f1a560718bb259c /src/Output.zig | |
| parent | 2fe2c920513fc78b61039714bf4d11ae48169f40 (diff) | |
| download | pardes-9b623d635b79f97122f512153b974dfa434f85ab.tar.gz pardes-9b623d635b79f97122f512153b974dfa434f85ab.zip | |
@p names a pane by its serial, as /index and the log do
A +Search row for a pane with no path (a terminal's), a jump list row and
a line-number look said @p<slot>, the pane's place in the core's table,
which no client can see. They now say @p<serial>, and @p resolves a
serial. Re-recorded by name, their diffs checked: jumps, ttylook and
psearch (whose waits now say @p1) for @p<serial>, and with them argv,
nested, reflow, tinywin, ttyhelp and ttyonly for the boot scratch now
named <cwd>/+New (the change before).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/Output.zig')
| -rw-r--r-- | src/Output.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Output.zig b/src/Output.zig index ee932768..b32a40a2 100644 --- a/src/Output.zig +++ b/src/Output.zig @@ -499,7 +499,7 @@ pub fn openJumps(p: *Pardes, id: usize) !void { const loc: []const u8 = if (has_path) (if (jp.file) |f| f.path else pdf_path.?) else - std.fmt.bufPrint(&idbuf, config.pane_addr ++ "{d}", .{j.pane}) catch unreachable; + std.fmt.bufPrint(&idbuf, config.pane_addr ++ "{d}", .{jp.serial}) catch unreachable; const what: []const u8 = if (jp.file) |f| std.mem.trim(u8, modal.lineSlice(f.content, j.line -| 1), " \t\r") else if (jp.image) |iv| |
