mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fixed underlining in undo command when color is off - the dashes were not being used.
This commit is contained in:
parent
12146a6f01
commit
47b5586d45
1 changed files with 10 additions and 2 deletions
12
src/TDB.cpp
12
src/TDB.cpp
|
@ -773,8 +773,16 @@ void TDB::undo ()
|
|||
table.addColumn (" ");
|
||||
table.addColumn ("Prior Values");
|
||||
table.addColumn ("Current Values");
|
||||
table.setColumnUnderline (1);
|
||||
table.setColumnUnderline (2);
|
||||
|
||||
if ((context.config.getBoolean ("color") || context.config.getBoolean ("_forcecolor")) &&
|
||||
context.config.getBoolean ("fontunderline"))
|
||||
{
|
||||
table.setColumnUnderline (1);
|
||||
table.setColumnUnderline (2);
|
||||
}
|
||||
else
|
||||
table.setTableDashedUnderline ();
|
||||
|
||||
table.setColumnWidth (0, Table::minimum);
|
||||
table.setColumnWidth (1, Table::flexible);
|
||||
table.setColumnWidth (2, Table::flexible);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue