Fix broken dock command

This commit is contained in:
Mikayla Maki 2023-02-23 14:15:05 -08:00
parent 9004640586
commit 8860346324
3 changed files with 2 additions and 7 deletions

View file

@ -89,7 +89,6 @@ impl KeymapMatcher {
self.contexts
.extend(dispatch_path.iter_mut().map(|e| std::mem::take(&mut e.1)));
dbg!(&self.contexts);
// Find the bindings which map the pending keystrokes and current context
for (i, (view_id, _)) in dispatch_path.iter().enumerate() {
// Don't require pending view entry if there are no pending keystrokes
@ -121,8 +120,6 @@ impl KeymapMatcher {
}
}
dbg!(&matched_bindings);
if !any_pending {
self.clear_pending();
}