- Corrected terminal size calculation for "limit:page", which was
  assuming 2 blank lines, instead of 1.
This commit is contained in:
Paul Beckingham 2011-03-20 11:20:16 -04:00
parent 9a80216e89
commit 81e6af427f

View file

@ -659,7 +659,7 @@ int handleCustomReport (const std::string& report, std::string& outs)
// Adjust for fluff in the output.
if (maxlines)
maxlines -= (context.config.getBoolean ("blanklines") ? 2 : 0)
maxlines -= (context.config.getBoolean ("blanklines") ? 1 : 0)
+ table_header
+ context.headers.size ()
+ context.footnotes.size ();