2013-05-20 07:16:19 +00:00
|
|
|
#ifndef _TERMIO_H_
|
|
|
|
#define _TERMIO_H_
|
2013-05-20 05:16:08 +00:00
|
|
|
|
2016-04-09 03:46:40 +00:00
|
|
|
#include "utf8.h"
|
|
|
|
|
2013-10-11 06:09:29 +00:00
|
|
|
#define TYPEAH 1 /* type ahead causes update to be skipped */
|
|
|
|
|
2013-10-11 04:37:31 +00:00
|
|
|
#define HUGE 1000 /* Huge number (for row/col) */
|
|
|
|
|
|
|
|
extern int ttrow ; /* Row location of HW cursor */
|
2013-09-25 13:45:05 +00:00
|
|
|
extern int ttcol ; /* Column location of HW cursor */
|
|
|
|
|
2013-05-20 05:16:08 +00:00
|
|
|
void ttopen( void) ;
|
|
|
|
void ttclose( void) ;
|
2016-04-09 03:46:40 +00:00
|
|
|
int ttputc( unicode_t c) ;
|
2013-05-20 05:16:08 +00:00
|
|
|
void ttflush( void) ;
|
|
|
|
int ttgetc( void) ;
|
|
|
|
int typahead( void) ;
|
|
|
|
|
|
|
|
#endif
|