MCPcopy
hub / github.com/Textualize/rich / write_text

Method write_text

rich/_win32_console.py:396–403  ·  view source on GitHub ↗

Write text directly to the terminal without any modification of styles Args: text (str): The text to write to the console

(self, text: str)

Source from the content-addressed store, hash-verified

394 return WindowsCoordinates(row=screen_size.Y, col=screen_size.X)
395
396 def write_text(self, text: str) -> None:
397 """Write text directly to the terminal without any modification of styles
398
399 Args:
400 text (str): The text to write to the console
401 """
402 self.write(text)
403 self.flush()
404
405 def write_styled(self, text: str, style: Style) -> None:
406 """Write styled text to the terminal.

Callers 4

test_write_textFunction · 0.95
write_styledMethod · 0.95
_win32_console.pyFile · 0.80
legacy_windows_renderFunction · 0.80

Calls 2

writeMethod · 0.45
flushMethod · 0.45

Tested by 1

test_write_textFunction · 0.76