mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
bbs config took the console for code page 437 whenever the locale did not say UTF-8 (LANG unset, as under sudo or in a bare WSL), so a UTF-8 terminal showed every line, shadow and shade as a replacement character. It now asks the terminal: é written, the cursor's column read back. A terminal that does not answer gets a VT's line drawing on an xterm, a VT, screen or tmux (as modemmenu does), and code page 437 otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRVaGDpEUKj7r3JGhpU