summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/terminal-dummy.c')
-rw-r--r--osdep/terminal-dummy.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/osdep/terminal-dummy.c b/osdep/terminal-dummy.c
index 4a3787e0fa..8ae6c64827 100644
--- a/osdep/terminal-dummy.c
+++ b/osdep/terminal-dummy.c
@@ -1,5 +1,7 @@
#include "terminal.h"
+#include "misc/bstr.h"
+
void terminal_init(void)
{
}
@@ -21,8 +23,18 @@ void terminal_get_size(int *w, int *h)
{
}
-void mp_write_console_ansi(void *wstream, char *buf)
+void terminal_get_size2(int *rows, int *cols, int *px_width, int *px_height)
+{
+}
+
+int mp_console_vfprintf(void *wstream, const char *format, va_list args)
+{
+ return 0;
+}
+
+int mp_console_write(void *wstream, bstr str)
{
+ return 0;
}
bool terminal_try_attach(void)