mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
terminal-unix: fix fallbacks in case terminfo/termcap are disabled
These two escape sequences were swapped. (They are used only if terminfo/termcap are not available.)
This commit is contained in:
@@ -56,8 +56,8 @@ static volatile int tio_orig_set;
|
||||
|
||||
int screen_width = 80;
|
||||
int screen_height = 24;
|
||||
char *terminal_erase_to_end_of_line = "\033[A";
|
||||
char *terminal_cursor_up = "\033[K";
|
||||
char *terminal_erase_to_end_of_line = "\033[K";
|
||||
char *terminal_cursor_up = "\033[A";
|
||||
|
||||
typedef struct {
|
||||
char *cap;
|
||||
|
||||
Reference in New Issue
Block a user