From f3133e87042dbf53f3eb5d3f7605ba07ca175a9a Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 14 Jan 2014 17:37:40 +0100 Subject: terminal-unix: fix terminfo/termcap name for cursor up "ku" is for input, not output. This happened to work on urxvt, but broke on xterm (and probably a dozen of other terminals). --- osdep/terminal-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3