mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
Fix colors on FreeBSD (and MacOS?) again
Broken in 1548f9276f because I'm an idiot.
Probably also fixes #210, but I don't have a Mac to test.
This commit is contained in:
parent
34dafffc62
commit
0d16b9f33e
2 changed files with 2 additions and 2 deletions
|
|
@ -27,4 +27,4 @@ chtype ncdu_acs_hline() { return ACS_VLINE ; }
|
|||
chtype ncdu_acs_vline() { return ACS_HLINE ; }
|
||||
|
||||
/* https://github.com/ziglang/zig/issues/8947 */
|
||||
void ncdu_init_pair(short a, short b, short c) { init_pair(a,b,c); }
|
||||
void ncdu_init_pair(int a, int b, int c) { init_pair(a,b,c); }
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ extern fn ncdu_acs_urcorner() c.chtype;
|
|||
extern fn ncdu_acs_lrcorner() c.chtype;
|
||||
extern fn ncdu_acs_hline() c.chtype;
|
||||
extern fn ncdu_acs_vline() c.chtype;
|
||||
extern fn ncdu_init_pair(idx: c_short, fg: c_short, bg: c_short) void;
|
||||
extern fn ncdu_init_pair(idx: c_int, fg: c_int, bg: c_int) void;
|
||||
|
||||
const StyleAttr = struct { fg: i16, bg: i16, attr: u32 };
|
||||
const StyleDef = struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue