mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-15 18:18:41 -09:00
Set default attributes to the whole window during curses init
Based on 058b26bf9a
This commit is contained in:
parent
683eb26ad1
commit
a5e8a43943
1 changed files with 1 additions and 0 deletions
|
|
@ -311,6 +311,7 @@ static void init_nc(void) {
|
||||||
noecho();
|
noecho();
|
||||||
curs_set(0);
|
curs_set(0);
|
||||||
keypad(stdscr, TRUE);
|
keypad(stdscr, TRUE);
|
||||||
|
bkgd(COLOR_PAIR(UIC_DEFAULT+1));
|
||||||
if(ncresize(min_rows, min_cols))
|
if(ncresize(min_rows, min_cols))
|
||||||
min_rows = min_cols = 0;
|
min_rows = min_cols = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue