1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 11:48:00 +01:00

fix :scriptnames SNR numbers

This commit is contained in:
Doug Kearns
2008-10-08 13:34:12 +00:00
parent e65e5e5f5b
commit 9d54b4f6cf

View File

@@ -311,7 +311,9 @@ liberator.IO = function () //{{{
"List all sourced script names", "List all sourced script names",
function () function ()
{ {
var list = liberator.template.tabular(["Idx", "Filename"], ["text-align: right"], Iterator(scriptNames)); var list = liberator.template.tabular(["<SNR>", "Filename"], ["text-align: right; padding-right: 1em;"],
([i + 1, file] for ([i, file] in Iterator(scriptNames)))); // TODO: add colon?
liberator.commandline.echo(list, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE); liberator.commandline.echo(list, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);
}, },
{ argCount: "0" }); { argCount: "0" });