mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdColumns: Table headers consistent
This commit is contained in:
parent
2a7d6eb26a
commit
61ee94a0e4
1 changed files with 1 additions and 10 deletions
|
@ -77,16 +77,7 @@ int CmdColumns::execute (std::string& output)
|
|||
formats.add (STRING_COLUMN_LABEL_MODIFY);
|
||||
formats.add (STRING_COLUMN_LABEL_STYLES);
|
||||
formats.add (STRING_COLUMN_LABEL_EXAMPLES);
|
||||
|
||||
if (context.color ())
|
||||
{
|
||||
Color label (context.config.get ("color.label"));
|
||||
formats.colorHeader (label);
|
||||
|
||||
Color alternate (context.config.get ("color.alternate"));
|
||||
formats.colorOdd (alternate);
|
||||
formats.intraColorOdd (alternate);
|
||||
}
|
||||
setHeaderUnderline (formats);
|
||||
|
||||
for (const auto& name : names)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue