mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 17:57:59 +01:00
Fix output of :let when no variables are defined.
This commit is contained in:
@@ -1224,10 +1224,10 @@ const Options = Module("options", {
|
||||
})
|
||||
}
|
||||
</table>;
|
||||
if (str.*.length())
|
||||
dactyl.echo(str, commandline.FORCE_MULTILINE);
|
||||
else
|
||||
if (str.text().length() == str.*.length())
|
||||
dactyl.echomsg("No variables found");
|
||||
else
|
||||
dactyl.echo(str, commandline.FORCE_MULTILINE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user