lnav icon indicating copy to clipboard operation
lnav copied to clipboard

Use UNICODE box drawing characters

Open szepeviktor opened this issue 6 years ago • 4 comments

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!

szepeviktor avatar Feb 03 '20 14:02 szepeviktor

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 avatar Oct 24 '22 16:10 FaffeF

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

FaffeF avatar Oct 24 '22 19:10 FaffeF

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 avatar Oct 24 '22 19:10 szepeviktor

AFAIK All linux distributions default to UTF-8.

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

szepeviktor avatar Oct 24 '22 20:10 szepeviktor