##// END OF EJS Templates
Add pass-through filter for shortcuts (#14080)...
Add pass-through filter for shortcuts (#14080) This is one way to fix https://github.com/ipython/ipython/issues/14070. The alternatives are: - try to change upstream prompt-toolkit to fire all matching keybindings, not only the last one [as it does currently](https://github.com/prompt-toolkit/python-prompt-toolkit/blob/07412a37b38dd70a3d63f2966a21f0a645133264/src/prompt_toolkit/key_binding/key_processor.py#L187) - this would be breaking so we would need to wait for a major release if this would be accepted - _unless_ instead of firing all matching keybindings only keybindings which oped in via a flag would be additionally fired (there is a precedent of `eager` flag) - add a tailored function with logic that figures out what to do based on state of application - I am not a fan of this as these are hard to test already.
Matthias Bussonnier -
r28309:61fc0aba merge
Show More
Name Size Modified Last Commit Author
/ IPython
core
extensions
external
lib
sphinxext
terminal
testing
tests
utils
__init__.py Loading ...
__main__.py Loading ...
conftest.py Loading ...
consoleapp.py Loading ...
display.py Loading ...
paths.py Loading ...
py.typed Loading ...