mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
input: implement metaSendsEscape and eightBitMeta
This commit is contained in:
parent
4e87426712
commit
a3d919a90d
5 changed files with 101 additions and 34 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue