Fix shortcuts with Shift (#34614)

Closes #34605, #34606, #34609

Release Notes:

- Fixed shortcuts involving Shift
This commit is contained in:
Oleksiy Syvokon 2025-07-17 14:21:20 +03:00 committed by GitHub
parent 758c5fb955
commit 1e67e30034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -837,7 +837,7 @@ impl crate::Keystroke {
&& key.is_ascii()
{
if key.is_ascii_graphic() {
key_utf8.clone()
key_utf8.to_lowercase()
// map ctrl-a to a
} else if key_utf32 <= 0x1f {
((key_utf32 as u8 + 0x60) as char).to_string()