Files
Igor VelkovandClaude Fable 5.1 9ebabb47b0 menu: draw dialog borders with Unicode box characters
dialog draws its borders through the ncurses alternate charset: the
VT100 switch ESC(0 followed by letters. PuTTY (default TERM=xterm),
mosh and hterm ignore that switch in UTF-8 mode, so the borders show
up as letters (lqqqk, x, mqqqj).

Set NCURSES_NO_UTF8_ACS=1 for the dialog call. ncurses then emits
U+2500 box-drawing characters directly; every UTF-8 terminal renders
those. Outside UTF-8 locales ncurses ignores the variable, so
non-UTF-8 terminals keep the alternate charset.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-08 08:34:43 +02:00
..