mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fixed underlining in color legend command when color is off - the dashes were not being used.
This commit is contained in:
parent
47b5586d45
commit
12a90fb477
1 changed files with 4 additions and 2 deletions
|
@ -2107,12 +2107,14 @@ int handleColor (std::string &outs)
|
|||
table.addColumn ("Color");
|
||||
table.addColumn ("Definition");
|
||||
|
||||
if (context.config.getBoolean ("color") ||
|
||||
context.config.getBoolean ("_forcecolor"))
|
||||
if ((context.config.getBoolean ("color") || context.config.getBoolean ("_forcecolor")) &&
|
||||
context.config.getBoolean ("fontunderline"))
|
||||
{
|
||||
table.setColumnUnderline (0);
|
||||
table.setColumnUnderline (1);
|
||||
}
|
||||
else
|
||||
table.setTableDashedUnderline ();
|
||||
|
||||
foreach (item, all)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue