Mercurial > mplayer.hg
comparison osdep/getch2.h @ 9380:edfe34c5405d
linux->osdep
author | arpi |
---|---|
date | Sun, 09 Feb 2003 20:18:23 +0000 |
parents | linux/getch2.h@3b5f5d1c5041 |
children | 11459d1ff17c |
comparison
equal
deleted
inserted
replaced
9379:475bb1a6ef75 | 9380:edfe34c5405d |
---|---|
1 /* GyS-TermIO v2.0 (for GySmail v3) (C) 1999 A'rpi/ESP-team */ | |
2 /* a very small replacement of ncurses library */ | |
3 | |
4 /* Screen size. Initialized by load_termcap() and get_screen_size() */ | |
5 extern int screen_width; | |
6 extern int screen_height; | |
7 | |
8 /* Get screen-size using IOCTL call. */ | |
9 extern void get_screen_size(); | |
10 | |
11 /* Load key definitions from the TERMCAP database. 'termtype' can be NULL */ | |
12 extern int load_termcap(char *termtype); | |
13 | |
14 /* Enable and disable STDIN line-buffering */ | |
15 extern void getch2_enable(); | |
16 extern void getch2_disable(); | |
17 | |
18 /* Read a character or a special key code (see keycodes.h) */ | |
19 extern int getch2(int halfdelay_time); | |
20 |