mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
Performance: Only measures the first fixed-width column row
This commit is contained in:
parent
a883c5ca41
commit
61e1401073
10 changed files with 49 additions and 17 deletions
|
@ -76,8 +76,8 @@ void ColumnStart::measure (Task& task, unsigned int& minimum, unsigned int& maxi
|
|||
{
|
||||
if (_style == "active")
|
||||
{
|
||||
if (! task.has ("end"))
|
||||
minimum = maximum = utf8_width (context.config.get ("active.indicator"));
|
||||
minimum = maximum = utf8_width (context.config.get ("active.indicator"));
|
||||
_fixed_width = true;
|
||||
}
|
||||
else
|
||||
ColumnDate::measure (task, minimum, maximum);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue