MCPcopy
hub / github.com/mitmproxy/mitmproxy / stop_editing

Method stop_editing

mitmproxy/tools/console/options.py:108–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self._modified()
107
108 def stop_editing(self):
109 self.editing = False
110 self.focus_obj = self._get(self.index, False)
111 self.set_focus(self.index)
112 self._modified()
113
114 def get_edit_text(self):
115 return self.focus_obj.get_edit_text()

Callers 1

keypressMethod · 0.80

Calls 3

_getMethod · 0.95
set_focusMethod · 0.95
_modifiedMethod · 0.80

Tested by

no test coverage detected