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.

linux: gpui add Keysym::ISO_Left_Tab (#9126)

charles-r-earp95b311cb907c
diff --git a/crates/gpui/src/platform/linux/util.rs b/crates/gpui/src/platform/linux/util.rs
index f5b90541f08..543ebbeae35 100644
--- a/crates/gpui/src/platform/linux/util.rs
+++ b/crates/gpui/src/platform/linux/util.rs
@@ -60,6 +60,11 @@ impl Keystroke {
Keysym::equal => "=".to_owned(),
Keysym::plus => "+".to_owned(),
+ Keysym::ISO_Left_Tab => {
+ handle_consumed_modifiers = false;
+ "tab".to_owned()
+ }
+
_ => {
handle_consumed_modifiers = false;
xkb::keysym_get_name(key_sym).to_lowercase()