Display modes
The TUI adapts to the terminal: glyphs follow the locale (a UTF locale in
LC_ALL, LC_CTYPE or LANG enables Unicode, anything else falls back to ASCII)
and colour honours NO_COLOR and TERM=dumb. Force
either on the Tui facade with ->unicode(TRUE|FALSE) and ->color(TRUE|FALSE). Here is
the same produce-box form in each combination:
| ANSI | No ANSI | |
| Unicode | ||
| ASCII |
The forcing seams and the environment conventions each have a runnable script
in playground/11-display-modes/.