temp commit

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-02-10 09:03:19 +08:00
parent cea123c79f
commit 50f751c215
2 changed files with 9 additions and 4 deletions

View File

@@ -1093,6 +1093,9 @@ fn translate_keyboard_mode(evt: &KeyEvent) {
#[cfg(target_os = "windows")]
allow_err!(rdev::simulate_unicode(_unicode as _));
}
Some(key_event::Union::Seq(seq)) => {
ENIGO.lock().unwrap().key_sequence(&seq);
}
Some(key_event::Union::Chr(..)) =>
{
#[cfg(target_os = "windows")]