[GH-ISSUE #118] Display filename with newline or other special character #46

Closed
opened 2026-06-08 11:25:27 +03:00 by zhus · 1 comment
Owner

Originally created by @oToToT on GitHub (Oct 3, 2020).
Original GitHub issue: https://github.com/bootandy/dust/issues/118

When displaying files with special character like '\n', '\t', '\r', and so on, it might cause the bar to be placed wrong.
I think it is great to encode filenames like what ls do before printing it out.

Originally created by @oToToT on GitHub (Oct 3, 2020). Original GitHub issue: https://github.com/bootandy/dust/issues/118 When displaying files with special character like '\n', '\t', '\r', and so on, it might cause the bar to be placed wrong. I think it is great to encode filenames like what `ls` do before printing it out.
zhus closed this issue 2026-06-08 11:25:27 +03:00
Author
Owner

@bootandy commented on GitHub (Oct 3, 2020):

true, good point

to reproduce:

touch \""hi2
"

I'll look into this

<!-- gh-comment-id:703069864 --> @bootandy commented on GitHub (Oct 3, 2020): true, good point to reproduce: ``` touch \""hi2 " ``` I'll look into this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#46