MCPcopy
hub / github.com/mitmproxy/mitmproxy / write

Method write

mitmproxy/tools/console/window.py:313–318  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

311 self.logger = logging.getLogger("urwid")
312
313 def write(self, data):
314 if common.IS_WINDOWS_OR_WSL:
315 # replace urwid's SI/SO, which produce artifacts under WSL.
316 # at some point we may figure out what they actually do.
317 data = re.sub("[\x0e\x0f]", "", data)
318 super().write(data)

Callers 15

addMethod · 0.45
installbuilder_installerFunction · 0.45
make_requestFunction · 0.45
spawn_editorMethod · 0.45
spawn_external_viewerMethod · 0.45
escape_special_areasFunction · 0.45
dumpFunction · 0.45
beautifyFunction · 0.45
format_xmlFunction · 0.45
encode_gzipFunction · 0.45
__call__Method · 0.45

Calls

no outgoing calls

Tested by 15

make_requestFunction · 0.36
test_loadMethod · 0.36
test_load_emptyMethod · 0.36
test_loadMethod · 0.36
test_load_emptyMethod · 0.36
test_init_appendMethod · 0.36
test_initMethod · 0.36
test_loadMethod · 0.36
test_configureMethod · 0.36
test_responseMethod · 0.36