ncurses: also fix the `box` prototype
ncurses: sync the signatures with the new functions
ncurses: fix the example command to use the correct types