fixed default leader key ('\') not expanding properly

This commit is contained in:
2026-03-03 03:33:53 -05:00
parent 9d13565176
commit a300e54ee8
3 changed files with 10 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ impl KeyMap {
expand_keymap(&self.action)
}
pub fn compare(&self, other: &[KeyEvent]) -> KeyMapMatch {
log::debug!("Comparing keymap keys {:?} with input {:?}", self.keys_expanded(), other);
let ours = self.keys_expanded();
if other == ours {
KeyMapMatch::IsExact