1994-10-07 08:58:58 +00:00
|
|
|
|
|
|
|
#include <ncurses.h>
|
1995-05-30 05:51:47 +00:00
|
|
|
|
1994-10-07 08:58:58 +00:00
|
|
|
main()
|
|
|
|
{
|
|
|
|
int x, y;
|
|
|
|
|
|
|
|
initscr();
|
|
|
|
cbreak();
|
1995-05-30 05:51:47 +00:00
|
|
|
nodelay(stdscr, TRUE);
|
|
|
|
|
1994-10-07 08:58:58 +00:00
|
|
|
for (y = 0; y < 43; y++)
|
|
|
|
for (x =0; x < 132; x++) {
|
|
|
|
move(y,x);
|
|
|
|
printw("X");
|
|
|
|
refresh();
|
|
|
|
if (!getch()) {
|
|
|
|
beep();
|
|
|
|
sleep(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nocbreak();
|
|
|
|
endwin();
|
|
|
|
}
|
|
|
|
|
|
|
|
|