MCPcopy
hub / github.com/pallets/click / write

Method write

src/click/_termui_impl.py:394–397  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

392 self.color = color
393
394 def write(self, text: str) -> int:
395 if not self.color:
396 text = strip_ansi(text)
397 return super().write(text)
398
399
400def _pager_contextmanager(

Callers 3

render_finishMethod · 0.45
editMethod · 0.45
getcharFunction · 0.45

Calls 1

strip_ansiFunction · 0.85

Tested by

no test coverage detected