/**************************************************************************** * @(#) Ndless - TERM [ terminal routine declarations ] * * Copyright (C) 2010 by ANNEHEIM Geoffrey and ARMAND Olivier * Contact: geoffrey.anneheim@gmail.com / olivier.calc@gmail.com * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. * * RCSID $Id$ ****************************************************************************/ #ifndef _TERM_H_ #define _TERM_H_ extern int setIOmode(int cmd); extern void clearscreen(); extern void scrollregion(int rows, int cursorX, int cursorY); extern int drawchar(int ch); extern void ShowCursor(void); extern int drawstring(char *s); extern int getch(void); extern char *gets(char *buf); #endif