diff options
author | wm4 <wm4@nowhere> | 2014-09-09 20:58:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-10 00:48:12 +0200 |
commit | 28fc13977e740769d11b17165016559505187486 (patch) | |
tree | 1ed04f39b6f852d0c9c9e9142094bf3738624854 /osdep/terminal.h | |
parent | d0b525121af63cc8cf19f2207a5ef384c78e61f6 (diff) | |
download | mpv-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.h | 3 |
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); |