Compare commits

...

1 Commits

Author SHA1 Message Date
Kate
d44fd6c18f fix SendKeystroke key mapping
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
2025-12-12 14:36:05 -08:00

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);
}