diff options
author | wm4 <wm4@nowhere> | 2014-01-14 17:37:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-14 17:37:40 +0100 |
commit | f3133e87042dbf53f3eb5d3f7605ba07ca175a9a (patch) | |
tree | c529f3db141183042a99d21bc57ac7b3f9c3d30c | |
parent | da00282e3a4003a623e3ecb2bff8dda926ab9217 (diff) | |
download | mpv-f3133e87042dbf53f3eb5d3f7605ba07ca175a9a.tar.bz2 mpv-f3133e87042dbf53f3eb5d3f7605ba07ca175a9a.tar.xz |
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).
-rw-r--r-- | osdep/terminal-unix.c | 2 |
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; |