How do you add pageup/pagedown keybindings to TextArea in python-prompt-toolkit?
How do you add pageup/pagedown keybindings to TextArea in python-prompt-toolkit? Question: Let’s use calculator.py for example. To add a scrollbar that works with the mouse wheel, you would change: output_field = TextArea(style="class:output-field", text=help_text) to: output_field = TextArea(style="class:output-field", text=help_text, scrollbar=True) But what would you add or change to scroll the TextArea with the page up and …