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 ccf6a02c7c..db1e2a4dd2 100644 --- a/osdep/terminal.h +++ b/osdep/terminal.h @@ -40,6 +40,9 @@ bool terminal_in_background(void); /* Get terminal-size in columns/rows. */ void terminal_get_size(int *w, int *h); +/* Get terminal-size in columns/rows and width/height in pixels. */ +void terminal_get_size2(int *rows, int *cols, int *px_width, int *px_height); + // Windows only. void mp_write_console_ansi(void *wstream, char *buf); |