mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #459 - Error when using limit:n where n < lines on screen and < results
- Fixed bug that displays 'limit' result lines when it has no need to.
This commit is contained in:
parent
aa891401e4
commit
fce4633de6
2 changed files with 3 additions and 1 deletions
|
@ -47,6 +47,8 @@
|
|||
time, not just on add.
|
||||
+ Fixed bug #452, which defines a higher resolution division between due
|
||||
and overdue.
|
||||
+ Fixed bug #459, which showed a confusing message when 'limit:page' was
|
||||
used, with few tasks.
|
||||
+ Fixed problem with command line configuration overrides that had no
|
||||
values.
|
||||
+ Fixed problem with the 'undo' command not observing the rc.color or the
|
||||
|
|
|
@ -659,7 +659,7 @@ int handleCustomReport (const std::string& report, std::string &outs)
|
|||
if (maxrows)
|
||||
out << ", " << maxrows << " shown";
|
||||
|
||||
if (maxlines)
|
||||
if (maxlines < table.rowCount ())
|
||||
out << ", truncated to " << maxlines-1 << " lines";
|
||||
|
||||
out << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue