Merge pull request #2707 from myk002/myk_enable_no_tab

don't use tabs in enable output
develop
Myk 2023-01-24 11:14:18 -08:00 committed by GitHub
commit 7a4b41ec4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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; if (!plug->can_be_enabled()) continue;
con.print( con.print(
"%20s\t%-3s%s\n", "%21s %-3s%s\n",
(plug->getName()+":").c_str(), (plug->getName()+":").c_str(),
plug->is_enabled() ? "on" : "off", plug->is_enabled() ? "on" : "off",
plug->can_set_enabled() ? "" : " (controlled internally)" plug->can_set_enabled() ? "" : " (controlled internally)"

@ -49,7 +49,7 @@ function list()
-- just been added -- just been added
reload() reload()
for name,fn in pairs(enabled_map) do 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
end end