Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix an issue where xkb defined hotkeys for arrows would not work (#34823)
Sergei Surovtsev19ab1eb79258
diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rsindex a52841e1afe..d65118e994e 100644--- a/crates/gpui/src/platform/linux/platform.rs+++ b/crates/gpui/src/platform/linux/platform.rs@@ -828,6 +828,13 @@ impl crate::Keystroke {Keysym::Delete => "delete".to_owned(),Keysym::Escape => "escape".to_owned(),+ Keysym::Left => "left".to_owned(),+ Keysym::Right => "right".to_owned(),+ Keysym::Up => "up".to_owned(),+ Keysym::Down => "down".to_owned(),+ Keysym::Home => "home".to_owned(),+ Keysym::End => "end".to_owned(),+_ => {let name = xkb::keysym_get_name(key_sym).to_lowercase();if key_sym.is_keypad_key() {