diff options
author | wm4 <wm4@nowhere> | 2014-01-13 23:11:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-13 23:11:46 +0100 |
commit | d52fc906c33287e7f2f0ea1cab76d4834f31dbae (patch) | |
tree | d63b9713a9efae56b5534bac9daba96a16bd4c2f /osdep/terminal-unix.c | |
parent | 710a45a3864573b18b35f38c5ea8c10bd9e4c63d (diff) | |
download | mpv-d52fc906c33287e7f2f0ea1cab76d4834f31dbae.tar.bz2 mpv-d52fc906c33287e7f2f0ea1cab76d4834f31dbae.tar.xz |
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.)
Diffstat (limited to 'osdep/terminal-unix.c')
-rw-r--r-- | osdep/terminal-unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c index 6edea37c74..b3fc734f46 100644 --- a/osdep/terminal-unix.c +++ b/osdep/terminal-unix.c @@ -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; |