CmdReports: Table headers consistent
This commit is contained in:
@@ -90,16 +90,7 @@ int CmdReports::execute (std::string& output)
|
|||||||
view.width (context.getWidth ());
|
view.width (context.getWidth ());
|
||||||
view.add (STRING_CMD_REPORTS_REPORT);
|
view.add (STRING_CMD_REPORTS_REPORT);
|
||||||
view.add (STRING_CMD_REPORTS_DESC);
|
view.add (STRING_CMD_REPORTS_DESC);
|
||||||
|
setHeaderUnderline (view);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
Color label (context.config.get ("color.label"));
|
|
||||||
view.colorHeader (label);
|
|
||||||
|
|
||||||
Color alternate (context.config.get ("color.alternate"));
|
|
||||||
view.colorOdd (alternate);
|
|
||||||
view.intraColorOdd (alternate);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (auto& report : reports)
|
for (auto& report : reports)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user