euporie.core.convert.formats.ft.ansi_to_ft

async euporie.core.convert.formats.ft.ansi_to_ft(datum: Datum, cols: int | None = None, rows: int | None = None, fg: str | None = None, bg: str | None = None, extend: bool = True, lex: bool = False) StyleAndTextTuples

Convert ANSI text to formatted text, lexing & formatting automatically.