MCPcopy Index your code
hub / github.com/bpython/bpython / escape

Method escape

bpython/curtsiesfrontend/interaction.py:127–132  ·  view source on GitHub ↗

unfocus from statusbar, clear prompt state, wait for notify call

(self)

Source from the content-addressed store, hash-verified

125 self.cursor_offset_in_line += 1
126
127 def escape(self):
128 """unfocus from statusbar, clear prompt state, wait for notify call"""
129 self.in_prompt = False
130 self.in_confirm = False
131 self.prompt = ""
132 self._current_line = ""
133
134 @property
135 def current_line(self):

Callers 2

process_eventMethod · 0.95
_safe_globFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected