mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Corrected terminal size calculation for "limit:page", which was assuming 2 blank lines, instead of 1.
This commit is contained in:
parent
9a80216e89
commit
81e6af427f
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ int handleCustomReport (const std::string& report, std::string& outs)
|
||||||
|
|
||||||
// Adjust for fluff in the output.
|
// Adjust for fluff in the output.
|
||||||
if (maxlines)
|
if (maxlines)
|
||||||
maxlines -= (context.config.getBoolean ("blanklines") ? 2 : 0)
|
maxlines -= (context.config.getBoolean ("blanklines") ? 1 : 0)
|
||||||
+ table_header
|
+ table_header
|
||||||
+ context.headers.size ()
|
+ context.headers.size ()
|
||||||
+ context.footnotes.size ();
|
+ context.footnotes.size ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue