mirror of https://github.com/mpv-player/mpv
terminal-unix: add termcap/terminfo documentation links
Apparently, some people are not clever enough to google this information. Proper googling to find these links done by Kovensky.
This commit is contained in:
parent
1d64b0101f
commit
710a45a386
|
@ -272,6 +272,10 @@ static int load_termcap(char *termtype){
|
||||||
char *buf_ptr = &term_buf[0];
|
char *buf_ptr = &term_buf[0];
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
|
||||||
|
// References for terminfo/termcap codes:
|
||||||
|
// http://linux.die.net/man/5/termcap
|
||||||
|
// http://unixhelp.ed.ac.uk/CGI/man-cgi?terminfo+5
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue