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

Method set_active

mitmproxy/tools/console/options.py:226–229  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

224 self.set_active(False)
225
226 def set_active(self, val):
227 h = urwid.Text("Option Help")
228 style = "heading" if val else "heading_inactive"
229 self.header = urwid.AttrMap(h, style)
230
231 def widget(self, txt):
232 cols, _ = self.master.ui.get_cols_rows()

Callers 2

__init__Method · 0.95
keypressMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected