Fix key handling in diff kitten

This commit is contained in:
Kovid Goyal
2021-01-15 09:48:11 +05:30
parent 66341111e6
commit 9c6ba213f9
3 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ class DiffHandler(Handler):
self.highlighting_done = False
self.restore_position: Optional[Reference] = None
for key_def, action in self.opts.key_definitions.items():
self.add_shortcut(action, *key_def)
self.add_shortcut(action, key_def)
def perform_action(self, action: KittensKeyAction) -> None:
func, args = action