mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdTags: Color only used for tty
This commit is contained in:
parent
9442df8342
commit
c4f7e1a869
1 changed files with 8 additions and 3 deletions
|
@ -96,10 +96,15 @@ int CmdTags::execute (std::string& output)
|
|||
view.add (Column::factory ("string", STRING_COLUMN_LABEL_TAG));
|
||||
view.add (Column::factory ("string.right", STRING_COLUMN_LABEL_COUNT));
|
||||
|
||||
Color label (context.config.get ("color.label"));
|
||||
view.colorHeader (label);
|
||||
Color bold;
|
||||
if (context.color ())
|
||||
{
|
||||
bold = Color ("bold");
|
||||
|
||||
Color label (context.config.get ("color.label"));
|
||||
view.colorHeader (label);
|
||||
}
|
||||
|
||||
Color bold ("bold");
|
||||
bool special = false;
|
||||
for (auto& i : unique)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue