From 018c8c30d81515ea337b3bbc1bc90d2df5f4dd72 Mon Sep 17 00:00:00 2001 From: Miguel Granero Date: Sat, 14 Feb 2026 18:44:16 +0100 Subject: [PATCH] fix: show closed folder icon when folder is not expanded in the tree view --- src/tui/mode/overlay/project_file_tree_palette.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/mode/overlay/project_file_tree_palette.zig b/src/tui/mode/overlay/project_file_tree_palette.zig index 25cc726..df306fc 100644 --- a/src/tui/mode/overlay/project_file_tree_palette.zig +++ b/src/tui/mode/overlay/project_file_tree_palette.zig @@ -171,7 +171,7 @@ fn getNodeIconAndColor(node: *const Node) !struct { []const u8, u24 } { if (node.type_ == .folder) { if (node.expanded) { return .{ "", 0 }; - } else return .{ "", 0 }; + } else return .{ "", 0 }; } _, const icon_, const color_ = guess_file_type(node.path);