`COLOR_PAIR` takes i16 instead of i32
Opened this issue · 0 comments
gyscos commented
ll::COLOR_PAIR
takes c_int
, which resolves to i32
. But ncurses::COLOR_PAIR
somehow takes a i16
(and converts it internally to a i32
).
It seems having ncurses::COLOR_PAIR
take a i32
would be much simpler.
EDIT: Aaaaaaah damn ncurses and its incoherent type usage! I don't know what should be done anymore :(