mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 15:33:47 +01:00
Fix /help
not showing any commands
This commit is contained in:
parent
5146b0cad8
commit
1e3903c014
@ -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…
x
Reference in New Issue
Block a user