aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2022-06-21 02:39:13 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2022-06-21 02:39:13 +0200
commitcf9ffc0cec0d2e55930238d1752209bca659c96d (patch)
tree29529a0ebec73862a1a9c2183402d5b0799a9614
parent9586a037685417a2079e79b2895b61d8f443ca91 (diff)
downloadsciteco-cf9ffc0cec0d2e55930238d1752209bca659c96d.tar.gz
PDCursesMod: fixed the light black color on all GUI backends (e.g. WinGUI)
* This is already fixed upstream, but we still include the workaround, so we can build with the current MSYS package and during CI.
-rw-r--r--src/interface-curses/interface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interface-curses/interface.c b/src/interface-curses/interface.c
index 993b4f9..4b51e2c 100644
--- a/src/interface-curses/interface.c
+++ b/src/interface-curses/interface.c
@@ -415,6 +415,10 @@ teco_interface_init(void)
{
for (guint i = 0; i < G_N_ELEMENTS(teco_interface.color_table); i++)
teco_interface.color_table[i] = -1;
+#ifdef PDCURSES_GUI
+ /* NOTE: Fixed and no longer necessary in PDCursesMod v4.3.3. */
+ teco_interface.color_table[8] = 0x808080;
+#endif
for (guint i = 0; i < G_N_ELEMENTS(teco_interface.orig_color_table); i++)
teco_interface.orig_color_table[i].r = -1;