Skip to content

Commit 87bec49

Browse files
committed
[mainloop-] for bad bindkey cmd, show longname in fail msg
1 parent bbc26f9 commit 87bec49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visidata/mainloop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def mainloop(vd, scr):
225225
return vd.lastErrors and '\n'.join(vd.lastErrors[-1])
226226
elif vd.bindkeys._get(vd.keystrokes) is not None:
227227
try:
228-
sheet.execCommand(vd.keystrokes, keystrokes=vd.keystrokes)
228+
sheet.execCommand(vd.bindkeys._get(vd.keystrokes), keystrokes=vd.keystrokes)
229229
except Exception as e: #2859
230230
vd.exceptionCaught(e)
231231
prefixWaiting = False

0 commit comments

Comments
 (0)