mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
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 *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);
|
||||
if (tmp)
|
||||
terminal_erase_to_end_of_line = tmp;
|
||||
|
Loading…
Reference in New Issue
Block a user