summaryrefslogtreecommitdiff
path: root/src/ninep/pane.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 13:30:42 -0300
committerGabriel Schneider <[email protected]>2026-10-01 13:44:34 -0300
commitbac1c62c1905a5ce11a6b630d556bc349041628b (patch)
treeea3e154923ca5f36adb3e0e65920a17e464ca55f /src/ninep/pane.zig
parent7c84ebe66494c3b05dcd23f198b5c5f4189cb708 (diff)
downloadpardes-bac1c62c1905a5ce11a6b630d556bc349041628b.tar.gz
pardes-bac1c62c1905a5ce11a6b630d556bc349041628b.zip
An image's or a terminal's tag says petscii:on when it is drawn as glyph art, as it always is with no graphics; Petscii on|off still chooses for when there are
The images and tagbottomimage goldens are re-recorded for the word. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/ninep/pane.zig')
-rw-r--r--src/ninep/pane.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninep/pane.zig b/src/ninep/pane.zig
index ae4dcd71..92ce8d8a 100644
--- a/src/ninep/pane.zig
+++ b/src/ninep/pane.zig
@@ -751,7 +751,7 @@ pub fn applyTagTruncation(p: *Pardes, pane: *Pane) void {
pane.tag.own = empty;
// what is left is the prefix; the cursor goes after it
pane.tag.cur_row = 0;
- pane.tag.cur_col = if (tagline.pathPrefix(p.scratch.allocator(), pane)) |prefix| @intCast(prefix.len) else |_| 0;
+ pane.tag.cur_col = if (tagline.pathPrefix(p, p.scratch.allocator(), pane)) |prefix| @intCast(prefix.len) else |_| 0;
pane.tag.vsel.active = false;
pane.tag.nsel = 0;
pf.tag_rewrite = true;