So i'm using <https://github.com/rnowley/nim-ncurses>, appeared to be working
fine untill i tried setting color on some text, just for test.
The C example does:
`init_pair(1, COLOR_RED, COLOR_BLACK); attron(COLOR_PAIR(1));
printw("Something"); attroff(COLOR_PAIR(1);`
So naturally i did: `init_pair(1, COLOR_RED, COLOR_BLACK) attron(COLOR_PAIR(1))
mvprintw(0,0, "Test") attroff(COLOR_PAIR(1))`
I get:
`Error: type mismatch: got <uint32> but expected one of: proc attr_on(attrs:
attr_t; opts: pointer): ErrCode` attron proc is implemented as: `proc
attron*(attrs: cint): ErrCode {.cdecl, importc, discardable, dynlib:
libncurses.}` in ncurses.nim. I tried many combinations to no avail. Maybe
someone could help, im kind of dumb and only program for fun when i have free
time :)