diff --git a/src/tui/filelist_view.zig b/src/tui/filelist_view.zig index 5293820..2ebb025 100644 --- a/src/tui/filelist_view.zig +++ b/src/tui/filelist_view.zig @@ -162,7 +162,7 @@ fn handle_render_menu(self: *Self, button: *Button.State(*Menu.State(*Self)), th var removed_prefix: usize = 0; const max_len = self.view_cols / path_column_ratio; button.plane.set_style(style_base); - _ = button.plane.print("{s}:{d}", .{ root.shorten_path(&buf, entry.path, &removed_prefix, max_len - 6), entry.begin_line + 1 }) catch {}; + _ = button.plane.print("{s}:{d}", .{ root.shorten_path(&buf, entry.path, &removed_prefix, max_len - 7), entry.begin_line + 1 }) catch {}; button.plane.cursor_move_yx(0, @intCast(max_len)) catch return false; button.plane.set_style(style_separator); _ = button.plane.print(" ▏", .{}) catch {};