Pager
Pager copied to clipboard
Support space to page down on dynamic help viewer
Prerequisites
- [X] Write a descriptive title.
Description of the new feature/enhancement
The new dynamic help is nice - pressing F1 on a cmdlet or parameter - but I am used to pressing space on the keyboard to page down like with the more
command help is piped to.
Proposed technical implementation details (optional)
Please either page through pipe, or support space for the new pager for dynamic help.
Move this enhancement request to the right repo.
Thanks. I didn't realize the pager wasn't PSReadline-specific and had its own repo. I just filed another one (a bug, PowerShell/Pager#24) but will remember to use the Pager repo for pager issues in the future.
I'd like to add that as well as space to scroll down one page (to emulate the behavior of more
and how PowerShell has classically paginated long output for help), it should also support Enter for moving down one line (again, to further emulate classical pagination behavior), as well as Page-Up and Page-Down to better emulate less
and make navigating long output a lot faster.
I don't know if this should be a separate issue or if it could be added to this one...
I had a try at it because I was using the Pager in my profile to visualize the full history. https://github.com/PowerShell/Pager/pull/27/commits/2600096cc4c3e33f3e4626d596300fdda21e3e6c