mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 00:21:25 +01:00
28 lines
315 B
C
28 lines
315 B
C
|
|
#include <ncurses.h>
|
|
|
|
main()
|
|
{
|
|
int x, y;
|
|
|
|
initscr();
|
|
cbreak();
|
|
nodelay(stdscr, TRUE);
|
|
|
|
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();
|
|
}
|
|
|
|
|