simple-im: allow disabling unicode input with backspace
This commit is contained in:
parent
cb25c2b44a
commit
b77fd6d0b2
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ impl InputMethodKeyboardGrab for SimpleIm {
|
|||
con.text_input.send_done();
|
||||
} else if sym == syms::Escape
|
||||
|| (sym == syms::c && is_control)
|
||||
|| (ui.chars == 0 && sym == syms::BackSpace)
|
||||
|| (ui.chars == 0 && matches!(sym, syms::w | syms::d) && is_control)
|
||||
{
|
||||
self.unicode_input_enabled.set(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue