1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/osdep/terminal-dummy.c
Kacper Michajłow c389f9e75e win32: change fputs to fwrite wrapper
Removes mp_puts/mp_fputs and adds mp_fwrite.

In fact I wanted fwrite instead of puts, no need to make it more awkward
with the implicit new lines.

Fixes: fc55f355fc
2024-04-07 20:23:04 +02:00

44 lines
557 B
C

#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_write(void *wstream, bstr str)
{
return 0;
}
bool terminal_try_attach(void)
{
return false;
}