aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-10-23 15:10:22 +0000
committerTiago Cunha <tcunha@gmx.com>2011-10-23 15:10:22 +0000
commit03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8 (patch)
treecc841f52aa23908e7294e9f5dc98c66213933fec /tty-term.c
parenta8ca1340ad1217a6512ce21586f05102c4000cc9 (diff)
downloadrtmux-03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8.tar.gz
rtmux-03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8.tar.bz2
rtmux-03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8.zip
Sync OpenBSD patchset 969:
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 f4f0b9a5..2fe59e4d 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -64,6 +64,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" },