mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
It is COLOR_PAIR 1, not 0
This commit is contained in:
parent
fa4582b282
commit
0261def0ed
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ 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
|
||||
_ = c.wbkgd(c.stdscr, 0x100); // COLOR_PAIR(1 (default)) = 0x100
|
||||
|
||||
inited = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue