MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / get_text

Method get_text

mitmproxy/tools/console/searchable.py:58–64  ·  view source on GitHub ↗
(self, w)

Source from the content-addressed store, hash-verified

56 self.current_highlight = offset
57
58 def get_text(self, w):
59 if isinstance(w, urwid.Text):
60 return w.text
61 elif isinstance(w, Highlight):
62 return w.backup.text
63 else:
64 return None
65
66 def find_next(self, backwards: bool):
67 if not self.search_term:

Callers 1

find_nextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected