diff options
author | Rudolf Polzer <divverent@xonotic.org> | 2013-01-23 15:47:49 +0100 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2013-01-23 18:05:34 +0100 |
commit | 3b22404e07df265af221112e2970084a15766c9a (patch) | |
tree | 868869e61a17389edd435342f64fd4dca8aa0485 /osdep/getch2-win.c | |
parent | d275e21d6a210064ab62e56334005c923481a6bd (diff) | |
download | mpv-3b22404e07df265af221112e2970084a15766c9a.tar.bz2 mpv-3b22404e07df265af221112e2970084a15766c9a.tar.xz |
mp_msg, getch2: unix tty background support
Now, when backgrounded, mpv plays and outputs messages to stdout, but
statusline is not output.
Background<->foreground transitions are detected by signals and polling
the process groups.
Diffstat (limited to 'osdep/getch2-win.c')
-rw-r--r-- | osdep/getch2-win.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c index c7607cee47..4bef70b418 100644 --- a/osdep/getch2-win.c +++ b/osdep/getch2-win.c @@ -166,6 +166,9 @@ bool getch2(struct mp_fifo *fifo) return true; } +void getch2_poll(void){ +} + void getch2_enable(void) { DWORD retval; |