summaryrefslogtreecommitdiff
path: root/makefile.patch
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-11-23 19:15:17 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2019-11-23 19:28:28 +0100
commit7a98bc7944f1b390e5a82e40c62d0ce7540befdc (patch)
tree3d71283eef830117e144770b99241eb777f001b2 /makefile.patch
parent810ae682a3b80ed621fd1e20c01241ac48381156 (diff)
menuconfig: Check that bright named colors are < curses.COLORS
The bright colors in the range 8-15 are not ANSI and are not guaranteed to be available. Previously, the code assumed that all named colors are always available on color terminals, and skipped the check against curses.COLORS. This led to this error e.g. with TERM=xterm (as opposed to xterm-256color) and the aquatic theme, which uses 'brightwhite': _curses.error: init_pair() returned ERR Fix it by checking the number returned for named colors against curses.COLORS as well. Came up in https://github.com/espressif/esp-idf/issues/4387.
Diffstat (limited to 'makefile.patch')
0 files changed, 0 insertions, 0 deletions