hello world ncurses test

This commit is contained in:
ProgramSnail 2021-03-21 17:36:43 +03:00
parent 8004bb42ee
commit 8de85dcd62
5 changed files with 6 additions and 71 deletions

View file

@ -1,9 +1,13 @@
#include <curses.h>
#include <cstdlib>
#include <unistd.h>
int main() {
initscr();
noecho();
mvprintw(0, 0, "Hello World!");
refresh();
sleep(1);
curs_set(false);
endwin();
}