From: Skyebee Date: Mon, 22 Jun 2026 05:24:40 +0000 (-0400) Subject: Fix watch menu colors X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=7e9b2ed9c69690f8e49246b398d559ba2f6a9610;p=dgamelaunch Fix watch menu colors * CLR_NORMAL = COLOR_PAIR(0) * Fix color bleed in watch menu (ig COLOR_PAIR(0) | A_NORMAL == 0? idk tho) --- diff --git a/dgamelaunch.c b/dgamelaunch.c index 34542f8..2134955 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -1227,6 +1227,7 @@ inprogressmenu (int gameid) if (hilite) attron(hilite); mvprintw(top_banner_hei + 1 + i, col->x, col->fmt, tmpbuf); if (hilite) { + attroff(hilite); attron(CLR_NORMAL); hilite = 0; } diff --git a/dgamelaunch.h b/dgamelaunch.h index 92ffeac..7af8efc 100644 --- a/dgamelaunch.h +++ b/dgamelaunch.h @@ -28,7 +28,7 @@ #define DGL_BANNER_LINELEN 256 /* max. length of banner lines*/ #ifdef USE_NCURSES_COLOR -# define CLR_NORMAL COLOR_PAIR(129) | A_NORMAL +# define CLR_NORMAL COLOR_PAIR(0) | A_NORMAL # define CLR_RED COLOR_PAIR(5) | A_NORMAL # define CLR_GREEN COLOR_PAIR(3) | A_NORMAL #else