Quick fix to prevent redundancy
@@ -69,7 +69,7 @@ class Controller:
#Check the commandSet for the input with both its string and integer representation.
self.savedCh = ch
keyName = app.curses_util.cursesKeyName(ch)
- cmd = self.commandSet.get(app.curses_util.cursesKeyName(ch)) or self.commandSet.get(ch)
+ cmd = self.commandSet.get(keyName) or self.commandSet.get(ch)
if cmd:
cmd()
else:
