This PR adds a couple more bindings following the ncursses man page organization, it adds:
initialization family functions (functions listed in man curs_initscr)
addch family functions (functions listed in man curs_addch)
addstr family functions (functions listed in man curs_addstr)
getch family functions (functions listed in man curs_getch)
refresh family functions (functions listed in man curs_refresh)
I've also added type and macro bindings as needed, and updated the signatures of existing bindings to match the ncurses signatures more precisely (most functions return an int indicating whether or not the operation succeeded or failed, and intiscr now returns a pointer to the Window). I've updated example.carp to account for the signature changes.
This PR adds a couple more bindings following the ncursses man page organization, it adds:
man curs_initscr
)addch
family functions (functions listed inman curs_addch
)addstr
family functions (functions listed inman curs_addstr
)getch
family functions (functions listed inman curs_getch
)refresh
family functions (functions listed inman curs_refresh
)I've also added type and macro bindings as needed, and updated the signatures of existing bindings to match the ncurses signatures more precisely (most functions return an
int
indicating whether or not the operation succeeded or failed, andintiscr
now returns a pointer to the Window). I've updatedexample.carp
to account for the signature changes.