tstack / lnav

Log file navigator
http://lnav.org
BSD 2-Clause "Simplified" License
8.02k stars 321 forks source link

Use UNICODE box drawing characters #711

Open szepeviktor opened 4 years ago

szepeviktor commented 4 years ago

I've juse read that lnav uses ISO-8859 characters to draw lines. https://github.com/tstack/lnav/issues/284#issuecomment-308725472 Could we modernize and go UNICODE (like Midnight Commander)? Thank you!

FaffeF commented 2 years ago

Yes, this would be very much appreciated. Has this changed along the way? When running lnav 0.7.3 from epel in RedHat this seems fine, but when using the latest static compiled lnav things look really ugly using the same Putty settings.

FaffeF commented 2 years ago

I did some testing, and "Enable VT100 line drawing even in UTF-8 mode" seems to mitigate this issue

szepeviktor commented 2 years ago

to mitigate this issue

Yes. There are work-arounds. I leave it 100% up to you keep non-UTF8 characters or move to UTF-8 only.

szepeviktor commented 2 years ago

AFAIK All linux distributions default to UTF-8.

The VT52 family was followed by the much more sophisticated VT100 in 1978.