Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@banthar
Created December 5, 2011 00:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banthar/1431726 to your computer and use it in GitHub Desktop.
Save banthar/1431726 to your computer and use it in GitHub Desktop.
curses demo
#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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment