diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 00:23:55 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | 4881c5d13c6a705a8c8bdb0181c33f9a500b5a74 (patch) | |
| tree | 31ee1398657b271d08830a1efad9e6d9f206aa68 /src/ninep/events.zig | |
| parent | 15ddd805905f785f4dde463d4d6b91e1d2c41e26 (diff) | |
| download | pardes-4881c5d13c6a705a8c8bdb0181c33f9a500b5a74.tar.gz pardes-4881c5d13c6a705a8c8bdb0181c33f9a500b5a74.zip | |
Columns are named by stable serials over 9P, as panes are
/col/<n> named a column by its index, which shifts when a column left of it
closes: exactly what scripts trip on. A column is now /col/<serial>, its
serial kept while it lives and never reused; /layout lines give serial and
index (`<serial> <index> ...`), active names the serial, /index's last
field is the column's serial, and the log says newcol and delcol with
serials. Docs, the skill and the tree's README say so.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/ninep/events.zig')
| -rw-r--r-- | src/ninep/events.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/events.zig b/src/ninep/events.zig index fc410d5a..e918f09a 100644 --- a/src/ninep/events.zig +++ b/src/ninep/events.zig @@ -174,7 +174,7 @@ pub fn noteError(p: *Pardes, req: Req, reply: Reply) void { .top => |f| file = f.fileName(), .col => |c| { serial = "-"; - file = std.fmt.bufPrint(&name, "col/{d}/tag", .{c.index}) catch "col"; + file = std.fmt.bufPrint(&name, "col/{d}/tag", .{c.serial}) catch "col"; }, .pane => |pt| { serial = std.fmt.bufPrint(&name, "{d}", .{pt.serial}) catch "-"; |
