public
Last active

curses demo

  • Download Gist
curses_test.c
C
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <stdio.h>
#include <curses.h>
 
int main(int argc, char*argv[])
{
 
initscr();
printw("curses - press any key");
getch();
endwin();
 
printf("no curses - press any key\n");
fflush(stdout);
getc(stdin);
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.