2001-02-24 20:28:24 +00:00
|
|
|
/* GyS-TermIO v2.0 (for GySmail v3) (C) 1999 A'rpi/ESP-team */
|
|
|
|
/* a very small replacement of ncurses library */
|
|
|
|
|
|
|
|
/* Screen size. Initialized by load_termcap() and get_screen_size() */
|
|
|
|
extern int screen_width;
|
|
|
|
extern int screen_height;
|
|
|
|
|
2005-12-25 18:26:35 +00:00
|
|
|
/* Termcap code to erase to end of line */
|
|
|
|
extern char * erase_to_end_of_line;
|
|
|
|
|
2001-02-24 20:28:24 +00:00
|
|
|
/* Get screen-size using IOCTL call. */
|
2006-02-09 14:08:03 +00:00
|
|
|
extern void get_screen_size(void);
|
2001-02-24 20:28:24 +00:00
|
|
|
|
|
|
|
/* Load key definitions from the TERMCAP database. 'termtype' can be NULL */
|
|
|
|
extern int load_termcap(char *termtype);
|
|
|
|
|
|
|
|
/* Enable and disable STDIN line-buffering */
|
2006-02-09 14:08:03 +00:00
|
|
|
extern void getch2_enable(void);
|
|
|
|
extern void getch2_disable(void);
|
2001-02-24 20:28:24 +00:00
|
|
|
|
|
|
|
/* Read a character or a special key code (see keycodes.h) */
|
|
|
|
extern int getch2(int halfdelay_time);
|
|
|
|
|
2006-09-12 16:24:23 +00:00
|
|
|
#ifdef __MINGW32__
|
|
|
|
extern int mp_input_win32_slave_cmd_func(int fd,char* dest,int size);
|
|
|
|
#endif
|