From d52fc906c33287e7f2f0ea1cab76d4834f31dbae Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 13 Jan 2014 23:11:46 +0100 Subject: 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.) --- osdep/terminal-unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'osdep') 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; -- cgit v1.2.3