CmdTags: Color only used for tty
This commit is contained in:
@@ -96,10 +96,15 @@ int CmdTags::execute (std::string& output)
|
|||||||
view.add (Column::factory ("string", STRING_COLUMN_LABEL_TAG));
|
view.add (Column::factory ("string", STRING_COLUMN_LABEL_TAG));
|
||||||
view.add (Column::factory ("string.right", STRING_COLUMN_LABEL_COUNT));
|
view.add (Column::factory ("string.right", STRING_COLUMN_LABEL_COUNT));
|
||||||
|
|
||||||
Color label (context.config.get ("color.label"));
|
Color bold;
|
||||||
view.colorHeader (label);
|
if (context.color ())
|
||||||
|
{
|
||||||
|
bold = Color ("bold");
|
||||||
|
|
||||||
|
Color label (context.config.get ("color.label"));
|
||||||
|
view.colorHeader (label);
|
||||||
|
}
|
||||||
|
|
||||||
Color bold ("bold");
|
|
||||||
bool special = false;
|
bool special = false;
|
||||||
for (auto& i : unique)
|
for (auto& i : unique)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user