add cmd line path args

This commit is contained in:
2026-01-03 17:19:55 +00:00
parent 2da6d92f72
commit cfd302ba0e
2 changed files with 29 additions and 11 deletions
+4 -1
View File
@@ -278,7 +278,10 @@ func (t *FsTree) renderNode(node *FsNode, depth int, builder *strings.Builder, h
}
line := icon + " " + fileName + "\n"
builder.WriteString(line)
// the depth 0 is the dummy root node, I don't render that
if depth > 0 {
builder.WriteString(line)
}
*currentLine++
if node.expanded {