2021-08-12 23:06:58 -04:00
|
|
|
/* termio.h -- */
|
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"
|
|
|
|
|
2021-08-12 23:06:58 -04:00
|
|
|
#define TYPEAH 1 /* type ahead causes update to be skipped */
|
2013-10-11 02:09:29 -04:00
|
|
|
|
2021-08-12 23:06:58 -04:00
|
|
|
#define HUGE 1000 /* Huge number (for row/col) */
|
2013-10-11 00:37:31 -04:00
|
|
|
|
2021-08-12 23:06:58 -04:00
|
|
|
extern int ttrow ; /* Row location of HW cursor */
|
|
|
|
extern int ttcol ; /* Column location of HW cursor */
|
2013-09-25 09:45:05 -04:00
|
|
|
|
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
|
2021-08-12 23:06:58 -04:00
|
|
|
/* end of termio.h */
|