mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fixed bug so that columns of type "string*" calculate ideal size by taking into account \n characters in the data, rather than simply the string length.
This commit is contained in:
parent
5d9fb1fff9
commit
bcbff8d99b
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ void ColumnString::measure (const std::string& value, int& minimum, int& maximum
|
|||
_style == "default")
|
||||
{
|
||||
std::string stripped = Color::strip (value);
|
||||
maximum = stripped.length ();
|
||||
maximum = longestLine (stripped);
|
||||
minimum = longestWord (stripped);
|
||||
}
|
||||
else if (_style == "left_fixed" ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue