We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ec8fe commit f5e4c82Copy full SHA for f5e4c82
filetree.go
@@ -209,7 +209,7 @@ func collapseTree(t *tree.Tree) *tree.Tree {
209
const dirIcon = " "
210
211
func truncateTree(t *tree.Tree, depth int) *tree.Tree {
212
- newT := tree.Root(utils.TruncateString(dirIcon+t.Value(), constants.OpenFileTreeWidth-depth*2-lipgloss.Width(dirIcon)))
+ newT := tree.Root(utils.TruncateString(dirIcon+t.Value(), constants.OpenFileTreeWidth-depth*2))
213
children := t.Children()
214
for i := 0; i < children.Length(); i++ {
215
child := children.At(i)
0 commit comments