/* -*- Mode:C; Coding:us-ascii-unix; fill-column:132 -*- */
/**********************************************************************************************************************************/
/**
   @file      curHello.c
   @author    Mitch Richling <https://www.mitchr.me/>
   @Copyright Copyright 1999 by Mitch Richling.  All rights reserved.
   @Revision  $Revision$ 
   @SCMdate   $Date$
   @brief     Minimal ncurses program@EOL
   @Keywords  ncurses
   @Std       C89

   This simple ncurses program is about as minimal as possible.
***********************************************************************************************************************************/

#include <ncurses.h>            /* Popular Curses  ????  */

/**********************************************************************************************************************************/
int main(int argc, char *argv[]) {
  initscr();                                        /* Initialize curses (the SCReen)    */
  printw("Hello, World! (press any key to quit)");  /* Print "Hello, World!" to 'stdscr' */
  refresh();                                        /* Draw 'stdscr' on the real screen  */
  getch();                                          /* Wait for a key press              */
  endwin();                                         /* Shutdown curses                   */
  return 0;                                         /* We are done, time to exit.        */
} /* end func main */