CmdTags: Table headers consistent
This commit is contained in:
@@ -93,16 +93,12 @@ int CmdTags::execute (std::string& output)
|
|||||||
view.width (context.getWidth ());
|
view.width (context.getWidth ());
|
||||||
view.add (STRING_COLUMN_LABEL_TAG);
|
view.add (STRING_COLUMN_LABEL_TAG);
|
||||||
view.add (STRING_COLUMN_LABEL_COUNT, false);
|
view.add (STRING_COLUMN_LABEL_COUNT, false);
|
||||||
|
setHeaderUnderline (view);
|
||||||
|
|
||||||
Color bold;
|
Color bold;
|
||||||
if (context.color ())
|
if (context.color ())
|
||||||
{
|
|
||||||
bold = Color ("bold");
|
bold = Color ("bold");
|
||||||
|
|
||||||
Color label (context.config.get ("color.label"));
|
|
||||||
view.colorHeader (label);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool special = false;
|
bool special = false;
|
||||||
for (auto& i : unique)
|
for (auto& i : unique)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user