mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-04-12 05:34:34 -04:00
Fix /help
not showing any commands
This commit is contained in:
parent
5146b0cad8
commit
1e3903c014
1 changed files with 2 additions and 2 deletions
|
@ -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`<strong>/${name}</strong>`];
|
||||
if (cmd.usage) {
|
||||
|
|
Loading…
Add table
Reference in a new issue