Merge pull request #424 from Liberatys/fix/prevent-dialog-on-slash-in-terminal

fix: Terminal should swallow interactions
This commit is contained in:
Dongdong Zhou 2022-04-14 21:24:10 +01:00 committed by GitHub
commit 045e6f9c25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@
const DEFAULT_KEYMAPS_NONMACOS: &str =
include_str!("../../../defaults/keymaps-nonmacos.toml");
#[derive(PartialEq)]
#[derive(PartialEq, Debug)]
enum KeymapMatch {
Full(String),
Multiple(Vec<String>),

View File

@ -609,6 +609,7 @@ fn event(
term_data.receive_char(ctx, &s);
}
}
ctx.set_handled();
data.keypress = keypress.clone();
}
Event::Command(cmd) if cmd.is(LAPCE_UI_COMMAND) => {