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:
wm4 2014-01-13 20:13:16 +01:00
parent 1d64b0101f
commit 710a45a386
1 changed files with 4 additions and 0 deletions

View File

@ -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;