summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;