mirror of
https://github.com/gdamore/tcell.git
synced 2025-04-26 13:48:53 +08:00

This expands support for 24-bit color for terminals that support the ISO 8613-6:1994 escape sequences (same as xterm), allowing this support to be enabled by setting % COLORTERM to "truecolor" (or 24bit or 24-bit), or by setting TCELL_TRUECOLOR to "on", or by setting $TERM a value that ends in the word "-truecolor". As this is handled by the runtime now, we no longer need to create magical database entries for -truecolor options. A colors.go demo is provided to show off 24-bit color support.