1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 04:58:06 +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:
wm4 2014-01-13 23:11:46 +01:00
parent 710a45a386
commit d52fc906c3

View File

@ -56,8 +56,8 @@ static volatile int tio_orig_set;
int screen_width = 80; int screen_width = 80;
int screen_height = 24; int screen_height = 24;
char *terminal_erase_to_end_of_line = "\033[A"; char *terminal_erase_to_end_of_line = "\033[K";
char *terminal_cursor_up = "\033[K"; char *terminal_cursor_up = "\033[A";
typedef struct { typedef struct {
char *cap; char *cap;