From 399ab9deba2124aa13dae24de130e64d3d9dcff4 Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Sun, 4 Aug 2024 22:13:03 -0400 Subject: [PATCH] core: layout: set the spacebar text as whitespace If the key value can emit text, it should put the text to be emitted in the text field. It should not put any special symbol for the key label, and it should instead be a special case in the display_label() method. --- src/core/layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/layout.rs b/src/core/layout.rs index d956409..beb16b0 100644 --- a/src/core/layout.rs +++ b/src/core/layout.rs @@ -504,7 +504,7 @@ const KEYSYMS: [(&str, Keysym, &str); 20] = [ ("loc alt", Keysym::Alt_L, "Alt"), ("right", Keysym::Right, "→"), ("shift", Keysym::Shift_L, "⇧"), - ("space", Keysym::space, "␣"), + ("space", Keysym::space, " "), ("tab", Keysym::Tab, "⭾"), ("up", Keysym::Up, "↑"), ];