summaryrefslogtreecommitdiffstats
path: root/osdep/terminal.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-09 20:58:26 +0200
committerwm4 <wm4@nowhere>2014-09-10 00:48:12 +0200
commit28fc13977e740769d11b17165016559505187486 (patch)
tree1ed04f39b6f852d0c9c9e9142094bf3738624854 /osdep/terminal.h
parentd0b525121af63cc8cf19f2207a5ef384c78e61f6 (diff)
downloadmpv-28fc13977e740769d11b17165016559505187486.tar.bz2
mpv-28fc13977e740769d11b17165016559505187486.tar.xz
terminal-unix: move to thread
Do terminal input with a thread, instead of using the central select() loop. This also changes some details how SIGTERM is handled. Part of my crusade against mp_input_add_fd().
Diffstat (limited to 'osdep/terminal.h')
-rw-r--r--osdep/terminal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/osdep/terminal.h b/osdep/terminal.h
index b2336b68a8..fc98f0c469 100644
--- a/osdep/terminal.h
+++ b/osdep/terminal.h
@@ -44,9 +44,6 @@ bool terminal_in_background(void);
/* Get terminal-size in columns/rows. */
void terminal_get_size(int *w, int *h);
-/* Enable and disable STDIN line-buffering */
-void getch2_poll(void);
-
// Windows only.
void mp_write_console_ansi(void *wstream, char *buf);