Skip to content

Commit

Permalink
Replace single space char with single quotes instead of double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
lusingander committed Sep 8, 2024
1 parent f46899e commit 3cfb462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keybind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl<'de> Deserialize<'de> for KeyBind {
}

fn parse_key_event(raw: &str) -> Result<KeyEvent, String> {
let raw_lower = raw.to_ascii_lowercase().replace(" ", "");
let raw_lower = raw.to_ascii_lowercase().replace(' ', "");
let (remaining, modifiers) = extract_modifiers(&raw_lower);
parse_key_code_with_modifiers(remaining, modifiers)
}
Expand Down

0 comments on commit 3cfb462

Please sign in to comment.