1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 21:31:52 +00:00
mpv/osdep/terminal-dummy.c
Kacper Michajłow 3372e17d51 win32: optimize mp_vfprintf a little
- remove redundant strlen/wcslen
- reuse allocated temporary buffers

The difference is not big, but it satisfies me to remove those
redundancies.
2024-03-19 19:58:09 +01:00

39 lines
494 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_write_console_ansi(void *wstream, const char *format, va_list args)
{
return 0;
}
bool terminal_try_attach(void)
{
return false;
}