lask79 / asciidoctor-treeview

Generates tree views based on ascii-tree with beautiful icons for folders and icons
Mozilla Public License 2.0
10 stars 0 forks source link

cite an official dirtree specification #7

Open DryHumorInDC opened 5 months ago

DryHumorInDC commented 5 months ago

There have been a few instances when pasting the output of the tree command that I get an error. I apologize that I can't repeat this at the moment, but I know it will come up again. The error complained about mixing dirtree output with the symbolic (e.g. #) output. The output of the tree command differs based on the environment, namely the value of $LANG. When LANG=en_US.UTF-8, for example, I get a whole bunch of non-printable characters. The output of this usually works, but sometimes not. To simplify the output, I can set LANG=C, but that does not appear to be a supported output either, since the icons appear at col=0.

Of course, switching to the symbolic output always works, and it's really great!

lask79 commented 5 months ago

Thanks for bringing this up. I only tested with normal tree output.

Good to know that there might be cases where this might not work.

If you could provide some sample trees where the output is wrong would be great.

DryHumorInDC commented 1 week ago

I am so sorry for not giving you feedback; thought I had.

Anyway, I can't reproduce this now. It probably had something to do with mismatching character encodings I'd had before.

And again -- thanks for making my docs look slick!