summaryrefslogtreecommitdiff
path: root/src/tagline.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tagline.zig')
-rw-r--r--src/tagline.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tagline.zig b/src/tagline.zig
index fa5246c4..1bb4dc85 100644
--- a/src/tagline.zig
+++ b/src/tagline.zig
@@ -157,9 +157,9 @@ pub fn pathPrefix(p: *const Pardes, arena: std.mem.Allocator, pane: *Pane) ![]co
if (pane.file) |f| return if (pane.prompt == .name) pane.input.own orelse f.path else f.path;
// A terminal showing kitty graphics says how it draws them, as an image
// pane does, and so does one drawing them as glyph art by choice.
- if (panes.terminal.petscii(pane)) |chosen| {
+ if (panes.Term.petscii(pane.terminal)) |chosen| {
const on = chosen or !p.view().frontend.native_images;
- if (chosen or panes.terminal.hasImages(pane))
+ if (chosen or panes.Term.hasImages(pane.terminal))
return std.fmt.allocPrint(arena, "{s} petscii:{s}", .{ (try shownDir(arena, pane)), if (on) "on" else "off" });
}
return (try shownDir(arena, pane));