mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 21:35:41 +02:00
Fix output of :let when no variables are defined.
This commit is contained in:
1 parent
f3be395b0c
commit
0d56dac3ac
1 file changed
+3
-3
@@ -1224,10 +1224,10 @@ const Options = Module("options", {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
</table>;
|
</table>;
|
||||||
if (str.*.length())
|
if (str.text().length() == str.*.length())
|
||||||
dactyl.echo(str, commandline.FORCE_MULTILINE);
|
|
||||||
else
|
|
||||||
dactyl.echomsg("No variables found");
|
dactyl.echomsg("No variables found");
|
||||||
|
else
|
||||||
|
dactyl.echo(str, commandline.FORCE_MULTILINE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user