MCPcopy
hub / github.com/mitmproxy/mitmproxy / pop

Method pop

mitmproxy/tools/console/window.py:229–239  ·  view source on GitHub ↗

Pop a window from the currently focused stack. If there is only one window on the stack, this prompts for exit.

(self)

Source from the content-addressed store, hash-verified

227 self.focus_changed()
228
229 def pop(self) -> None:
230 """
231 Pop a window from the currently focused stack. If there is only one
232 window on the stack, this prompts for exit.
233 """
234 if self.focus_stack().pop():
235 self.master.prompt_for_exit()
236 else:
237 self.refresh()
238 self.view_changed()
239 self.focus_changed()
240
241 def stacks_sorted_by_focus(self):
242 """

Callers 15

receive_decoderMethod · 0.45
drawFunction · 0.45
https_alpnMethod · 0.45
https_echMethod · 0.45
set_stateMethod · 0.45
set_stateMethod · 0.45
set_stateMethod · 0.45
setMethod · 0.45

Calls 5

focus_stackMethod · 0.95
refreshMethod · 0.95
view_changedMethod · 0.95
focus_changedMethod · 0.95
prompt_for_exitMethod · 0.80

Tested by 6

receive_decoderMethod · 0.36
drawFunction · 0.36