![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| None | __init__ (self) |
| Iterable[Text] | decode (self, str terminal_text) |
| Text | decode_line (self, str line) |
Public Attributes | |
| style | |
Translate ANSI code in to styled Text.
| Iterable[Text] pip._vendor.rich.ansi.AnsiDecoder.decode | ( | self, | |
| str | terminal_text | ||
| ) |
Decode ANSI codes in an iterable of lines.
Args:
lines (Iterable[str]): An iterable of lines of terminal output.
Yields:
Text: Marked up Text.
| Text pip._vendor.rich.ansi.AnsiDecoder.decode_line | ( | self, | |
| str | line | ||
| ) |
Decode a line containing ansi codes.
Args:
line (str): A line of terminal output.
Returns:
Text: A Text instance marked up according to ansi codes.