diff --git a/components/help.js b/components/help.js index c2866b0..6eb04cb 100644 --- a/components/help.js +++ b/components/help.js @@ -42,8 +42,8 @@ function KeyBindingsHelp() { } function CommandsHelp() { - let l = Object.keys(commands).map((name) => { - let cmd = commands[name]; + let l = [...commands.keys()].map((name) => { + let cmd = commands.get(name); let usage = [html`/${name}`]; if (cmd.usage) {