You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add key-combo press handler to async_commands.py example
Since prompt-toolkit has all of the components for full screen applications built into it, I thought it would be interesting to demonstrate how users can configure their own custom key bindings to trigger a background method on keypress that prints a message above the prompt.
This has some limitations at the moment in that it only works while the prompt is being displayed. But its a start to building a more interesting example.
0 commit comments