summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2022-06-15 06:26:13 +0200
committerYorhel <git@yorhel.nl>2022-06-15 06:26:18 +0200
commita5e8a43943ddd4ae49464eb1fb39d58590810d54 (patch)
treefc86678d044a0e49584a3232c6462939277525e3
parent683eb26ad160550c3abc051e621bdf13679d48cd (diff)
Set default attributes to the whole window during curses initmaster
Based on 058b26bf9a4d32c43b018897cfe8f70a3f2a90d2
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c9562fd..1ebd82b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;
}