c77722c60f
This reverts commit f4c7e129df
.
15 lines
184 B
C
15 lines
184 B
C
#include <ncurses.h>
|
|
|
|
int main()
|
|
{ int ch;
|
|
|
|
initscr();
|
|
cbreak();
|
|
noecho();
|
|
keypad(stdscr, TRUE);
|
|
|
|
ch = getch();
|
|
endwin();
|
|
printf("The key pressed is %d\n", ch);
|
|
}
|