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:
1 parent
710a45a386
commit
d52fc906c3
1 file changed
+2
-2
@@ -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