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

Method set_active

mitmproxy/tools/console/commands.py:111–114  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

109 command_focus_change.connect(self.sig_mod)
110
111 def set_active(self, val):
112 h = urwid.Text("Command Help")
113 style = "heading" if val else "heading_inactive"
114 self.header = urwid.AttrMap(h, style)
115
116 def widget(self, txt):
117 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