diff options
author | Yorhel <git@yorhel.nl> | 2022-06-15 06:26:13 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2022-06-15 06:26:18 +0200 |
commit | a5e8a43943ddd4ae49464eb1fb39d58590810d54 (patch) | |
tree | fc86678d044a0e49584a3232c6462939277525e3 | |
parent | 683eb26ad160550c3abc051e621bdf13679d48cd (diff) |
Set default attributes to the whole window during curses init
Based on 058b26bf9a4d32c43b018897cfe8f70a3f2a90d2
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -311,6 +311,7 @@ static void init_nc(void) { noecho(); curs_set(0); keypad(stdscr, TRUE); + bkgd(COLOR_PAIR(UIC_DEFAULT+1)); if(ncresize(min_rows, min_cols)) min_rows = min_cols = 0; } |