fix SendKeystroke key mapping

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
This commit is contained in:
Kate
2025-12-12 14:34:10 -08:00
parent 47c30b6da7
commit d44fd6c18f

View File

@@ -2452,6 +2452,12 @@ impl Workspace {
.0
.split(' ')
.flat_map(|k| Keystroke::parse(k).log_err())
.map(|k| {
cx.keyboard_mapper()
.map_key_equivalent(k, true)
.inner()
.clone()
})
.collect();
let _ = self.send_keystrokes_impl(keystrokes, window, cx);
}