diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-06-16 12:44:36 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-06-16 12:44:36 -0400 |
commit | e3672dfec9c7f0919a726b3e105f06b9474b630f (patch) | |
tree | 5c8f6a5a37688a20f78d230745b273c66f888007 /tests/test_bashcompletion.py | |
parent | eb32a860d442f6990971bf9ab96db576c939587c (diff) | |
download | cmd2-git-e3672dfec9c7f0919a726b3e105f06b9474b630f.tar.gz |
Altered behavior further to lean towards giving the developer more power over the end user
Specifically:
- PAGER environment variable is not used by default to set cmd2.Cmd.pager
- This is done to ensure a consistent behavior of cmd2 applications across users by default
Developers are free to set pager and pager_chop in the __init__() for their class derived from cmd2.Cmd differently to ensure whatever behavior they desire.
Also:
- Updated the paged_output.py example to demonstrate using ppaged() with both wrapped and chopped/truncated text
Diffstat (limited to 'tests/test_bashcompletion.py')
0 files changed, 0 insertions, 0 deletions