diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-06-11 20:48:03 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-06-11 20:48:03 -0400 |
commit | 0d4e633e8e0698cecc851af2f8967b6ead0e748b (patch) | |
tree | 26f9634a091cd10709415dbb4f1d22d8335d770e /examples/subcommands.py | |
parent | 3ae71e80e61a908ad0a0dec84ee6496592176022 (diff) | |
download | cmd2-git-0d4e633e8e0698cecc851af2f8967b6ead0e748b.tar.gz |
Added pager settable parameter to control the command used to display paged output
Also:
- ppaged() now uses the pager settable parameter
- By default the pager settable parameter uses the PAGER environment variable if present
- If PAGER environment variable is not present, pager gets set to:
- "less -SXRF" on POSIX OSes (macOS and Linux)
- "more" on Windows
Diffstat (limited to 'examples/subcommands.py')
0 files changed, 0 insertions, 0 deletions