about summary refs log tree commit diff stats
path: root/src/lua.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-12-04 20:54:01 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-12-04 20:54:01 -0800
commit88071687292d9ad3766f3fa05f48777d97725b0c (patch)
tree278906784ca24c6fe0e514d4bfc4eeaa92f8fbea /src/lua.c
parent0429cfca741cc6cf602b266782860aa1f8fbcd1d (diff)
downloadteliva-88071687292d9ad3766f3fa05f48777d97725b0c.tar.gz
grey rather than harsh white background
Diffstat (limited to 'src/lua.c')
-rw-r--r--src/lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.c b/src/lua.c
index f00b4ae..afceafd 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -929,7 +929,7 @@ extern void cleanup_curses (void);
 void developer_mode (lua_State *L) {
   /* clobber the app's ncurses colors; we'll restart the app when we rerun it. */
   for (int i = 0; i < 8; ++i)
-    init_pair(i, i, 15);
+    init_pair(i, i, 7);
   for (int i = 0; i < 8; ++i)
     init_pair(i+8, 0, i);
   init_pair(255, /*white fg*/ 15, /*red bg*/ 1);  /* for teliva error messages */
@@ -1034,7 +1034,7 @@ int main (int argc, char **argv) {
   initscr();
   keypad(stdscr, 1);
   start_color();
-  assume_default_colors(0, 15);
+  assume_default_colors(0, 7);
   draw_menu(L);
   echo();
   s.argc = argc;