bundles / IPython 9.10.0 / IPython / terminal / shortcuts / filters / PassThrough
ABCMeta
IPython.terminal.shortcuts.filters:PassThrough
Signature
def PassThrough ( ) Members
Summary
A filter allowing to implement pass-through behaviour of keybindings.
Extended Summary
Prompt toolkit key processor dispatches only one event per binding match, which means that adding a new shortcut will suppress the old shortcut if the keybindings are the same (unless one is filtered out).
To stop a shortcut binding from suppressing other shortcuts: - add the pass_through filter to list of filter, and - call pass_through.reply(event) in the shortcut handler.
Aliases
-
IPython.terminal.shortcuts.filters.PassThrough