Windows/send keystrokes (#44707)

Closes #41176 

Release Notes:

- Fixed SendKeystrokes mapping on windows

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
This commit is contained in:
localcc
2025-12-12 05:51:11 -08:00
committed by GitHub
co-authored by Kirill Bulatov
parent 47c30b6da7
commit 8bd4d866b9
+6
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);
}