mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug
- Fix a bug where 'print.empty.columns=no' resulted in never printing the project column because ColProject::measure did not take into account the length of the last word of the project name. - Unit tests.
This commit is contained in:
parent
21704e6705
commit
4ca5c85054
3 changed files with 16 additions and 3 deletions
|
@ -264,6 +264,9 @@ int longestWord (const std::string& input)
|
|||
length += mk_wcwidth (character);
|
||||
}
|
||||
|
||||
if (length > longest)
|
||||
longest = length;
|
||||
|
||||
return longest;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue