Skip to content

Commit

Permalink
Merge pull request #5758 from vvoland/images-tree-elips-dot
Browse files Browse the repository at this point in the history
cli/tree: Use single character triple dot
  • Loading branch information
vvoland authored Jan 20, 2025
2 parents f4a68da + f906139 commit f97ec69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/command/image/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ type imgColumn struct {
func truncateRunes(s string, length int) string {
runes := []rune(s)
if len(runes) > length {
return string(runes[:length-3]) + "..."
return string(runes[:length-1]) + ""
}
return s
}
Expand Down

0 comments on commit f97ec69

Please sign in to comment.