0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-04-29 13:04:17 +02:00

modules/console: Add space after key in conf list output.

This commit is contained in:
Jason Volk 2020-04-27 01:08:42 -07:00
parent c027a567ce
commit fef7faaf23

View file

@ -1728,9 +1728,14 @@ console_cmd__conf__list(opt &out, const string_view &line)
if(prefix && !startswith(key, prefix))
continue;
const string_view _key
{
fmt::sprintf{val, "%s ", key}
};
out
<< std::setw(64) << std::left << std::setfill('_') << key
<< " " << item_p->get(val)
<< std::setw(64) << std::left << std::setfill('_') << _key
<< " " << item_p->get(val + size(_key))
<< std::endl;
}