don't use tabs in enable output

so they display nicely in gui/launcher
develop
Myk Taylor 2023-01-23 23:50:08 -08:00
parent d221f2b105
commit 0e03ac8e5b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

@ -804,7 +804,7 @@ command_result Core::runCommand(color_ostream &con, const std::string &first_, v
if (!plug->can_be_enabled()) continue;
con.print(
"%20s\t%-3s%s\n",
"%21s %-3s%s\n",
(plug->getName()+":").c_str(),
plug->is_enabled() ? "on" : "off",
plug->can_set_enabled() ? "" : " (controlled internally)"

@ -49,7 +49,7 @@ function list()
-- just been added
reload()
for name,fn in pairs(enabled_map) do
print(('%20s\t%-3s'):format(name..':', fn() and 'on' or 'off'))
print(('%21s %-3s'):format(name..':', fn() and 'on' or 'off'))
end
end