summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-dummy.c
blob: 8ab9d6f444d22ff1b318d0337e4473b1dbf4f83b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "terminal.h"

#include "misc/bstr.h"

void terminal_init(void)
{
}

void terminal_setup_getch(struct input_ctx *ictx)
{
}

void terminal_uninit(void)
{
}

bool terminal_in_background(void)
{
    return false;
}

void terminal_get_size(int *w, int *h)
{
}

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_fputs(void *wstream, bstr str)
{
    return 0;
}

bool terminal_try_attach(void)
{
    return false;
}