#include #include int main(int argc, char **argv) { initscr(); int w = getch(); endwin(); printf("w=%d\n", w); return 0; }