mirror of
https://github.com/thiagoauler/apple1.git
synced 2025-02-16 08:31:14 +00:00
24 lines
304 B
C
24 lines
304 B
C
#include <curses.h>
|
|
|
|
int main()
|
|
{
|
|
initscr();
|
|
noecho();
|
|
cbreak();
|
|
nodelay(stdscr, TRUE);
|
|
|
|
int ch = ERR;
|
|
while (ch == ERR)
|
|
{
|
|
ch = getch();
|
|
//addch('.');
|
|
}
|
|
|
|
addch(ch);
|
|
//refresh();
|
|
|
|
nodelay(stdscr, FALSE);
|
|
getch();
|
|
endwin();
|
|
}
|