mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Feature #247
- Added feature #247, providing infinite width reports when redirecting output to a file, by setting defaultwidth to 0.
This commit is contained in:
parent
38ffa390ea
commit
09ce815fc5
4 changed files with 9 additions and 0 deletions
|
@ -163,6 +163,10 @@ int Context::getWidth ()
|
|||
debug (out.str ());
|
||||
#endif
|
||||
|
||||
// A zero width value means 'infinity', which is approximated here by 2^16.
|
||||
if (width == 0)
|
||||
width = 65536;
|
||||
|
||||
return width;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue