From 4169ad2170836239449adcb3c93acda82408a156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vald=C3=A9s?= Date: Wed, 12 Feb 2020 21:07:35 +0100 Subject: [PATCH] Fix less than key on linux --- src/bridge/keybindings.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bridge/keybindings.rs b/src/bridge/keybindings.rs index b53a6a3..727fa3d 100644 --- a/src/bridge/keybindings.rs +++ b/src/bridge/keybindings.rs @@ -218,6 +218,12 @@ pub fn append_modifiers(modifiers: ModifiersState, keycode_text: &str, special: } }; } + + if result == "<" { + special = true; + result = "lt".to_string(); + } + if modifiers.ctrl() { special = true; result = format!("C-{}", result);