Logo Search packages:      
Sourcecode: netdiag version File versions  Download package

curs.c

/*  curs.c is part of Statnet */
/* Statnet is protected under the GNU Public License (GPL2). */
/* Author: Jeroen Baekelandt (jeroenb@igwe.vub.ac.be)       */

#include <string.h>
#include <stdarg.h>
#include "curs.h"

void
init_curses ()
{
  initscr ();
#if 0
  nodelay (stdscr, TRUE);
#endif
  cbreak ();
  noecho ();
}


void
cleanup_curses ()
{
  endwin ();
}

void
clrscr ()
{
  erase ();
  refresh ();
}

Generated by  Doxygen 1.6.0   Back to index