tstack / lnav

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

Visual artifacts, line drawing characters not showing #1298

Open kobaz opened 3 weeks ago

kobaz commented 3 weeks ago

v0.12.2

Describe the bug Visual artifacts, line drawing characters not showing

Distro: Debian Buster. Terminal: mrxvt export TERM=xterm export LANG=C lnav /var/log/messages 2024-08-29_00-43

I drew some red boxes to highlight the areas of concern. There's no line drawing characters on the right, and there's a random à on the left hand side.

To Reproduce Build, make install, run

kobaz commented 3 weeks ago

My terminal: mrtxvt does not support UTF8

I found a possible thing here. I also had NCURSES_NO_UTF8_ACS set.

Looks like this causes an issue when a term is not capable of UTF8 (which seems a little backwards?)

If NCURSES_NO_UTF8_ACS=1, lnav looks to be trying to draw utf8 If NCURSES_NO_UTF8_ACS is unset, then lnav draws high ascii line drawing.