fix SendKeystroke key mapping
Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user