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

Method focus_prev

mitmproxy/addons/view.py:292–301  ·  view source on GitHub ↗

Set focus to the previous flow.

(self)

Source from the content-addressed store, hash-verified

290
291 @command.command("view.focus.prev")
292 def focus_prev(self) -> None:
293 """
294 Set focus to the previous flow.
295 """
296 if self.focus.index is not None:
297 idx = self.focus.index - 1
298 if self.inbounds(idx):
299 self.focus.flow = self[idx]
300 else:
301 pass
302
303 # Order
304 @command.command("view.order.options")

Callers 1

test_movementFunction · 0.95

Calls 1

inboundsMethod · 0.95

Tested by 1

test_movementFunction · 0.76