Main Interface

These methods all return an instance of the ScreenParser object.

ansiparser.new_screen(height=24, width=80) → ScreenParser

Initialize the ScreenParser for a new screen.

ansiparser.from_screen(parsed_screen: list) → ScreenParser

Initialize the ScreenParser from an existing parsed screen.