diff options
Diffstat (limited to 'src/tagline.zig')
| -rw-r--r-- | src/tagline.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tagline.zig b/src/tagline.zig index 9655f537..8d65f8c6 100644 --- a/src/tagline.zig +++ b/src/tagline.zig @@ -117,7 +117,7 @@ pub fn pathPrefix(p: *const Pardes, arena: std.mem.Allocator, pane: *Pane) ![]co if (comptime pdf_enabled) if (pane.pdf) |pv| return std.fmt.allocPrint(arena, "{s} [{d}/{d}]", .{ pv.path, pv.page + 1, pv.page_count }); // What is drawn: with no graphics, glyph art whatever `Petscii` says. - if (pane.image) |*state| return panes.Image.tagPrefix(arena, state, state.glyph_art or !p.native_images); + if (pane.image) |*state| return panes.Image.tagPrefix(arena, state, state.glyph_art or !p.frontend.native_images); // A command pane: its directory, the line it runs, and how that went. // Its first line only, cut to 48 bytes at a character's start: a tag's // first row is where the prefix ends, and a line that ran over to a @@ -151,7 +151,7 @@ pub fn pathPrefix(p: *const Pardes, arena: std.mem.Allocator, pane: *Pane) ![]co // 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| { - const on = chosen or !p.native_images; + const on = chosen or !p.frontend.native_images; if (chosen or panes.terminal.hasImages(pane)) return std.fmt.allocPrint(arena, "{s} petscii:{s}", .{ (try shownDir(arena, pane)), if (on) "on" else "off" }); } |
