questionary
questionary copied to clipboard
add pager feature
What is the problem that this PR addresses?
https://github.com/tmbo/questionary/issues/465 ...
How did you solve it?
add bindings for Keys.Right/Keys.Left Keys.PageDown/Keys.PageUp l/h(vim mode)
- Move forward or backward by n elements.
- Determine the current cursor position on the screen.
- Advance by the specified number of elements and redraw the screen so that the cursor remains visible.
- Finally, restore the cursor to its correct position relative to the list.
...
Checklist
- [x] I have read the Contributor's Guide.
- [x] I will check that all automated PR checks pass before the PR gets reviewed.
@tmbo Hi, I’ve run make lint, make test, and make types as recommended in the Contributor’s Guide locally and all passed. Could you please review the PR when you have a chance? Thanks!