summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--osdep/terminal-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c
index 2991141cc5..19e2caf7b2 100644
--- a/osdep/terminal-unix.c
+++ b/osdep/terminal-unix.c
@@ -279,7 +279,7 @@ static int load_termcap(char *termtype){
tmp = tgetstr("ce", &buf_ptr);
if (tmp)
terminal_erase_to_end_of_line = tmp;
- tmp = tgetstr("ku", &buf_ptr);
+ tmp = tgetstr("up", &buf_ptr);
if (tmp)
terminal_cursor_up = tmp;