MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / prompt_execute

Method prompt_execute

mitmproxy/tools/console/statusbar.py:197–203  ·  view source on GitHub ↗
(self, txt)

Source from the content-addressed store, hash-verified

195 signals.focus.send(section="body")
196
197 def prompt_execute(self, txt) -> None:
198 callback = self.prompting
199 assert callback is not None
200 self.prompt_done()
201 msg = callback(txt)
202 if msg:
203 signals.status_message.send(message=msg, expire=1)
204
205
206class StatusBar(urwid.WidgetWrap):

Callers 1

keypressMethod · 0.95

Calls 2

prompt_doneMethod · 0.95
sendMethod · 0.45

Tested by

no test coverage detected