mirror of https://github.com/mpv-player/mpv
video/out/vo_tct: Use octal escape sequence instead of non-standard \e
This commit is contained in:
parent
bea582f383
commit
235fabcfae
|
@ -36,15 +36,15 @@
|
|||
|
||||
#define ALGO_PLAIN 1
|
||||
#define ALGO_HALF_BLOCKS 2
|
||||
#define ESC_HIDE_CURSOR "\e[?25l"
|
||||
#define ESC_RESTORE_CURSOR "\e[?25h"
|
||||
#define ESC_CLEAR_SCREEN "\e[2J"
|
||||
#define ESC_CLEAR_COLORS "\e[0m"
|
||||
#define ESC_GOTOXY "\e[%d;%df"
|
||||
#define ESC_COLOR_BG "\e[48;2;%d;%d;%dm"
|
||||
#define ESC_COLOR_FG "\e[38;2;%d;%d;%dm"
|
||||
#define ESC_COLOR256_BG "\e[48;5;%dm"
|
||||
#define ESC_COLOR256_FG "\e[38;5;%dm"
|
||||
#define ESC_HIDE_CURSOR "\033[?25l"
|
||||
#define ESC_RESTORE_CURSOR "\033[?25h"
|
||||
#define ESC_CLEAR_SCREEN "\033[2J"
|
||||
#define ESC_CLEAR_COLORS "\033[0m"
|
||||
#define ESC_GOTOXY "\033[%d;%df"
|
||||
#define ESC_COLOR_BG "\033[48;2;%d;%d;%dm"
|
||||
#define ESC_COLOR_FG "\033[38;2;%d;%d;%dm"
|
||||
#define ESC_COLOR256_BG "\033[48;5;%dm"
|
||||
#define ESC_COLOR256_FG "\033[38;5;%dm"
|
||||
#define DEFAULT_WIDTH 80
|
||||
#define DEFAULT_HEIGHT 25
|
||||
|
||||
|
|
Loading…
Reference in New Issue