summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-13 20:13:16 +0100
committerwm4 <wm4@nowhere>2014-01-13 20:13:16 +0100
commit710a45a3864573b18b35f38c5ea8c10bd9e4c63d (patch)
tree782379174293603cda72a196cf4b168e2dbeb113 /osdep
parent1d64b0101ff859b72579722915c87bae041c03fc (diff)
downloadmpv-710a45a3864573b18b35f38c5ea8c10bd9e4c63d.tar.bz2
mpv-710a45a3864573b18b35f38c5ea8c10bd9e4c63d.tar.xz
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.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/terminal-unix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c
index de7087b9b8..6edea37c74 100644
--- a/osdep/terminal-unix.c
+++ b/osdep/terminal-unix.c
@@ -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;