ncurses-meson-dep

Meson ncurses detection 100% real no fake
git clone git://git.sgregoratto.me/ncurses-meson-dep
Log | Files | Refs | README

ncurses_test.c (298B)


      1 #include "config.h"
      2 
      3 int
      4 main(int argc, char **argv)
      5 {
      6 	initscr();		   /* Start curses mode 		  */
      7 	printw("Hello World!"); /* Print Hello World		  */
      8 	refresh();		   /* Print it on to the real screen */
      9 	getch();		   /* Wait for user input */
     10 	endwin();		   /* End curses mode		  */
     11 
     12 	return 0;
     13 }