mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Set default attributes to the whole window during curses init
Based on #204.
This commit is contained in:
parent
e6806059e6
commit
058b26bf9a
1 changed files with 1 additions and 0 deletions
|
|
@ -367,6 +367,7 @@ pub fn init() void {
|
|||
_ = c.start_color();
|
||||
_ = c.use_default_colors();
|
||||
for (styles) |s, i| _ = ncdu_init_pair(@intCast(i16, i+1), s.style().fg, s.style().bg);
|
||||
_ = c.bkgd(@intCast(c.chtype, c.COLOR_PAIR(@enumToInt(Style.default)+1)));
|
||||
|
||||
inited = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue