Get a character from the terminal screen and echo it on the specified window. The getch function echos the character on stdscr.
#include <curses.h> char getch(); char wgetch (WINDOW *win);
x | The returned character. |
ERR | Indicates that the function makes the screen scroll illegally. |