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