diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 13:30:42 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 13:44:34 -0300 |
| commit | bac1c62c1905a5ce11a6b630d556bc349041628b (patch) | |
| tree | ea3e154923ca5f36adb3e0e65920a17e464ca55f /src/edit.zig | |
| parent | 7c84ebe66494c3b05dcd23f198b5c5f4189cb708 (diff) | |
| download | pardes-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/edit.zig')
| -rw-r--r-- | src/edit.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.zig b/src/edit.zig index 1305d66f..3e3ba341 100644 --- a/src/edit.zig +++ b/src/edit.zig @@ -500,7 +500,7 @@ pub fn setEditTextEnd(p: *Pardes, t: *Text, new: []u8, known_end: ?modal.Cursor) // caller reads the new text back, as a body's is kept. defer retireEditText(p, new); const pane = t.pane() orelse return; - const prefix = tagline.pathPrefix(p.scratch.allocator(), pane) catch return; + const prefix = tagline.pathPrefix(p, p.scratch.allocator(), pane) catch return; if (!std.mem.startsWith(u8, new, prefix)) { t.refused = true; return; |
