Curses: add support for the palette config option

Depends on CHANGE_COLOR compile-time option.

Also allow multiple palette-definitions in the config file.
This commit is contained in:
Pasi Kallinen
2024-04-13 12:01:40 +03:00
parent ebd200ecc2
commit a57d0e6f4f
8 changed files with 48 additions and 11 deletions

View File

@@ -141,6 +141,7 @@ NHCFLAGS+=-DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
#NHCFLAGS+=-DTTY_SOUND_ESCCODES
#NHCFLAGS+=-DNO_CHRONICLE
#NHCFLAGS+=-DLIVELOG
#NHCFLAGS+=-DCHANGE_COLOR
NHCFLAGS+=-DSELF_RECOVER
ifdef WANT_WIN_CURSES
ifeq "$(HAVE_NCURSESW)" "1"