Skip to content

Commit

Permalink
Merge pull request #2338 from midichef/palette_incomplete
Browse files Browse the repository at this point in the history
[cmdpalette-] fix incomplete command list from race condition
  • Loading branch information
anjakefala committed May 17, 2024
2 parents 3ef53ff + 03eb8cc commit ea1743e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visidata/features/cmdpalette.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def inputLongname(sheet):
prompt = 'command name: '
# get set of commands possible in the sheet
this_sheets_help = HelpSheet('', source=sheet)
this_sheets_help.ensureLoaded()
vd.sync(this_sheets_help.ensureLoaded())

def _fmt_cmdpal_summary(match, row, trigger_key):
keystrokes = this_sheets_help.revbinds.get(row.longname, [None])[0] or ' '
Expand Down

0 comments on commit ea1743e

Please sign in to comment.