mirror of https://github.com/mpv-player/mpv
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).
This commit is contained in:
parent
da00282e3a
commit
f3133e8704
|
@ -279,7 +279,7 @@ static int load_termcap(char *termtype){
|
||||||
tmp = tgetstr("ce", &buf_ptr);
|
tmp = tgetstr("ce", &buf_ptr);
|
||||||
if (tmp)
|
if (tmp)
|
||||||
terminal_erase_to_end_of_line = tmp;
|
terminal_erase_to_end_of_line = tmp;
|
||||||
tmp = tgetstr("ku", &buf_ptr);
|
tmp = tgetstr("up", &buf_ptr);
|
||||||
if (tmp)
|
if (tmp)
|
||||||
terminal_cursor_up = tmp;
|
terminal_cursor_up = tmp;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue