aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-20 17:38:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-20 17:45:14 +0000
commita3d919a90d38623f743ac997f1db2de3204faaf5 (patch)
tree263141acac55dead6cb7114621deba8531b2fbba /terminal.c
parentcsi: implement REP - CSI Ps b (diff)
input: implement metaSendsEscape and eightBitMeta
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index be8d8e56..63e4266e 100644
--- a/terminal.c
+++ b/terminal.c
@@ -652,6 +652,10 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
.normal = {.damage = tll_init(), .scroll_damage = tll_init()},
.alt = {.damage = tll_init(), .scroll_damage = tll_init()},
.grid = &term->normal,
+ .meta = {
+ .esc_prefix = true,
+ .eight_bit = true,
+ },
.tab_stops = tll_init(),
.wl = wayl,
.render = {
@@ -1032,6 +1036,9 @@ term_reset(struct terminal *term, bool hard)
selection_cancel(term);
}
+ term->meta.esc_prefix = true;
+ term->meta.eight_bit = true;
+
if (!hard)
return;