diff options
Diffstat (limited to 'src/tagline.zig')
| -rw-r--r-- | src/tagline.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tagline.zig b/src/tagline.zig index 8d65f8c6..5cfb9f50 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.frontend.native_images); + if (pane.addon != null) return pardes.Kind.prefix(p, arena, pane); // 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 |
