summaryrefslogtreecommitdiffstats
path: root/include/pager.h
Commit message (Collapse)AuthorAgeFilesLines
* lib/pager: cleanup and extend APIKarel Zak2016-08-261-1/+4
| | | | | | | | | * clean up function names * add functions to temporary redirect to the pager and then restore original terminal output Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: add pager functionalityDavidlohr Bueso2012-04-231-0/+6
When some program' output exceeds the terminal's dimensions, it is a nice feature to call a pager that acts as calling 'less' to allow better user navigation. This patch adds this functionality, based on what perf and git have (ie: git log). Signed-off-by: Davidlohr Bueso <dave@gnu.org>