Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix shortcuts with `Shift` (#34614)

Oleksiy Syvokon1e67e30034ca
diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rs
index a24838339ed..c4b90ccf084 100644
--- a/crates/gpui/src/platform/linux/platform.rs
+++ b/crates/gpui/src/platform/linux/platform.rs
@@ -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()