Set default attributes to the whole window during curses init

This commit is contained in:
Imran Yusuff 2022-06-14 03:31:40 +01:00
parent e6806059e6
commit fa4582b282

View file

@ -368,6 +368,8 @@ pub fn init() void {
_ = c.use_default_colors();
for (styles) |s, i| _ = ncdu_init_pair(@intCast(i16, i+1), s.style().fg, s.style().bg);
_ = c.wbkgd(c.stdscr, 0x100); // COLOR_PAIR(0 (default)) = 0x100
inited = true;
}