summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-10-23 10:16:14 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-10-23 10:16:14 +0000
commitf0aad68aeef493954d3a840bea134abd22b37c2d (patch)
treea02b92fcc0ce1bb8ad8883ff631ebb1e593d28ca /tty-term.c
parent7ff4cf94050e11517bb6fa89be2f5f4c85af12e3 (diff)
Support for \e[3J to clear the history. Also send the corresponding
terminfo code (E3) before locking.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tty-term.c b/tty-term.c
index 41cb97c4..201d0e1d 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -61,6 +61,7 @@ const struct tty_term_code_entry tty_term_codes[NTTYCODE] = {
{ TTYC_DIM, TTYCODE_STRING, "dim" },
{ TTYC_DL, TTYCODE_STRING, "dl" },
{ TTYC_DL1, TTYCODE_STRING, "dl1" },
+ { TTYC_E3, TTYCODE_STRING, "E3" },
{ TTYC_EL, TTYCODE_STRING, "el" },
{ TTYC_EL1, TTYCODE_STRING, "el1" },
{ TTYC_ENACS, TTYCODE_STRING, "enacs" },