MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / _

Function _

keepercommander/cli.py:858–860  ·  view source on GitHub ↗

Exit shell on Ctrl+Q

(event)

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected