Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pip._vendor.rich.ansi.AnsiDecoder Class Reference

Public Member Functions

None __init__ (self)
 
Iterable[Textdecode (self, str terminal_text)
 
Text decode_line (self, str line)
 

Public Attributes

 style
 

Detailed Description

Translate ANSI code in to styled Text.

Member Function Documentation

◆ decode()

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.

◆ decode_line()

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.

The documentation for this class was generated from the following file: