Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib/pager: cleanup and extend API | Karel Zak | 2016-08-26 | 1 | -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 functionality | Davidlohr Bueso | 2012-04-23 | 1 | -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> |