summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authornicm <nicm>2017-02-06 22:05:11 +0000
committernicm <nicm>2017-02-06 22:05:11 +0000
commitd60e585d9e6f01c06b936f550ebf889453a8720f (patch)
tree7b53199fe85ac80f4880f4932bd7896860c97999 /tty-term.c
parent68e04907de6a13933805d3437872bd859f4ce6c1 (diff)
Use DECFRA on VT420 compatible terminals (so, xterm) and ED on all
others for clearing panes.
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 02305971..092f80f2 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -84,6 +84,7 @@ static const struct tty_term_code_entry tty_term_codes[] = {
[TTYC_DL1] = { TTYCODE_STRING, "dl1" },
[TTYC_E3] = { TTYCODE_STRING, "E3" },
[TTYC_ECH] = { TTYCODE_STRING, "ech" },
+ [TTYC_ED] = { TTYCODE_STRING, "ed" },
[TTYC_EL] = { TTYCODE_STRING, "el" },
[TTYC_EL1] = { TTYCODE_STRING, "el1" },
[TTYC_ENACS] = { TTYCODE_STRING, "enacs" },