aboutsummaryrefslogtreecommitdiffhomepage
path: root/bootstrap.am
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-01-26 19:50:03 +0100
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-01-26 19:50:03 +0100
commit7fa9feae452ea05a083b17d3f0cdf69bf5d37822 (patch)
tree080b0d24fad4bceee74cae6a41a56db434aa930d /bootstrap.am
parent59d3c24f198ca4628fb69c8da163f103bafebc43 (diff)
Curses: support up to 32767 color pairsHEADmaster-fmsbw-cimaster
* Instead of ORing COLOR_PAIR() into attributes, always pass separate `pair` arguments. Since they are `short` this allows for up to 32767 color pairs. Previously, we could only count on 256 color pairs (or 128 for SciTECO and Scinterm each). * Analoguous changes have been made to Scinterm. See also https://github.com/orbitalquark/scinterm/pull/37 Since it only correctly checks for overflows at the end of the color pair space, we allocate the second half of that space to Scinterm. It is now very unlikely to overflow the color pair space, though. * This wasn't critical of course since even the 128 pairs would be unlikely to exhaust as long as we support only 16 ANSI colors. Scinterm however supports arbitrary RGB colors and we might want to do so soon as well.
Diffstat (limited to 'bootstrap.am')
0 files changed, 0 insertions, 0 deletions