tinterlace mode 4 leaves height unchanged.
[mplayer/glamo.git] / osdep / getch2.h
blob66ace32da0457924663daa42bcdfdbf5e46ccc90
1 /* GyS-TermIO v2.0 (for GySmail v3) (C) 1999 A'rpi/ESP-team */
2 /* a very small replacement of ncurses library */
4 /* Screen size. Initialized by load_termcap() and get_screen_size() */
5 extern int screen_width;
6 extern int screen_height;
8 /* Termcap code to erase to end of line */
9 extern char * erase_to_end_of_line;
11 /* Get screen-size using IOCTL call. */
12 extern void get_screen_size(void);
14 /* Load key definitions from the TERMCAP database. 'termtype' can be NULL */
15 extern int load_termcap(char *termtype);
17 /* Enable and disable STDIN line-buffering */
18 extern void getch2_enable(void);
19 extern void getch2_disable(void);
21 /* Read a character or a special key code (see keycodes.h) */
22 extern int getch2(int halfdelay_time);
24 #ifdef __MINGW32__
25 extern int mp_input_win32_slave_cmd_func(int fd,char* dest,int size);
26 #endif