c-library curses \c #include \c int getwidth () { return getmaxx(stdscr); } \c int getheight () { return getmaxy(stdscr); } \c WINDOW * screen () { return stdscr; } s" curses" add-lib c-function initscr initscr -- void c-function raw raw -- void c-function clear clear -- void c-function noecho noecho -- void c-function addch addch n -- void c-function refresh refresh -- void c-function endwin endwin -- void c-function getch getch -- n c-function width getwidth -- n c-function height getheight -- n c-function mv move n n -- void c-function set-cursor curs_set n -- void c-function nodelay nodelay a n -- void c-function screen screen -- a c-function napms napms n -- void end-c-library