summaryrefslogtreecommitdiffstats
path: root/osdep/getch2.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/getch2.h')
-rw-r--r--osdep/getch2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/osdep/getch2.h b/osdep/getch2.h
index 85899b3ce3..5a04c4228e 100644
--- a/osdep/getch2.h
+++ b/osdep/getch2.h
@@ -41,10 +41,13 @@ void get_screen_size(void);
/* Load key definitions from the TERMCAP database. 'termtype' can be NULL */
int load_termcap(char *termtype);
-/* Enable and disable STDIN line-buffering */
+/* Initialize getch2 */
void getch2_enable(void);
void getch2_disable(void);
+/* Enable and disable STDIN line-buffering */
+void getch2_poll(void);
+
/* Read a character or a special key code (see keycodes.h) */
struct mp_fifo;
bool getch2(struct mp_fifo *fifo);