diff options
Diffstat (limited to 'osdep/terminal.h')
-rw-r--r-- | osdep/terminal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/terminal.h b/osdep/terminal.h index fc98f0c469..89d4071d93 100644 --- a/osdep/terminal.h +++ b/osdep/terminal.h @@ -47,4 +47,7 @@ void terminal_get_size(int *w, int *h); // Windows only. void mp_write_console_ansi(void *wstream, char *buf); +/* Windows-only function to attach to the parent process's console */ +bool terminal_try_attach(void); + #endif /* MPLAYER_GETCH2_H */ |