CmdContext: Table headers consistent
This commit is contained in:
@@ -225,12 +225,7 @@ void CmdContext::listContexts (std::stringstream& out)
|
|||||||
table.add ("Name");
|
table.add ("Name");
|
||||||
table.add ("Definition");
|
table.add ("Definition");
|
||||||
table.add ("Active");
|
table.add ("Active");
|
||||||
|
setHeaderUnderline (table);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
Color label (context.config.get ("color.label"));
|
|
||||||
table.colorHeader (label);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string activeContext = context.config.get ("context");
|
std::string activeContext = context.config.get ("context");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user