mirror of
https://github.com/armbian/build.git
synced 2026-09-08 23:59:54 +08:00
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>