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