mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:58:00 +01:00
Fix :command list output.
This commit is contained in:
@@ -1066,14 +1066,14 @@ const Commands = Module("commands", {
|
||||
|
||||
if (cmds.length > 0)
|
||||
commandline.commandOutput(
|
||||
template.tabular(["", "Name", "Args", "Range", "Complete", "Definition"], ["padding-right: 2em;"]),
|
||||
template.tabular(["", "Name", "Args", "Range", "Complete", "Definition"], ["padding-right: 2em;"],
|
||||
([cmd.bang ? "!" : " ",
|
||||
cmd.name,
|
||||
cmd.argCount,
|
||||
cmd.count ? "0c" : "",
|
||||
completerToString(cmd.completer),
|
||||
cmd.replacementText || "function () { ... }"]
|
||||
for ([, cmd] in Iterator(cmds))));
|
||||
for ([, cmd] in Iterator(cmds)))));
|
||||
else
|
||||
dactyl.echomsg("No user-defined commands found");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user