Exit shell on Ctrl+Q
(event)
| 856 | bindings = KeyBindings() |
| 857 | @bindings.add('c-q') |
| 858 | def _(event): |
| 859 | """Exit shell on Ctrl+Q""" |
| 860 | event.app.exit(exception=EOFError) |
| 861 | prompt_session = PromptSession(multiline=False, |
| 862 | editing_mode=EditingMode.VI, |
| 863 | completer=completer, |
nothing calls this directly
no outgoing calls
no test coverage detected