From 3b6a11f881af03965748d46492dad864d4aa4817 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 18 Apr 2024 22:26:14 +0200 Subject: [PATCH] fmt --- src/key.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/key.rs b/src/key.rs index 69d69a0a4..1e94ab9cf 100644 --- a/src/key.rs +++ b/src/key.rs @@ -238,7 +238,8 @@ pub(crate) fn parse_keys(value: &wstr) -> Result, WString> { && !value.contains(KEY_SEPARATOR) && !KEY_NAMES.iter().any(|(_codepoint, name)| name == value) && value.as_char_slice()[0] != 'F') - || first == '\x1b' || first < ' ' + || first == '\x1b' + || first < ' ' { // Hack: treat as legacy syntax (meaning: not comma separated) if // 1. it doesn't contain '-' or ',' and is short enough to probably not be a key name.