mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdContext: Table headers consistent
This commit is contained in:
parent
120c50f75e
commit
73040f2679
1 changed files with 1 additions and 6 deletions
|
@ -225,12 +225,7 @@ void CmdContext::listContexts (std::stringstream& out)
|
||||||
table.add ("Name");
|
table.add ("Name");
|
||||||
table.add ("Definition");
|
table.add ("Definition");
|
||||||
table.add ("Active");
|
table.add ("Active");
|
||||||
|
setHeaderUnderline (table);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
Color label (context.config.get ("color.label"));
|
|
||||||
table.colorHeader (label);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string activeContext = context.config.get ("context");
|
std::string activeContext = context.config.get ("context");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue