Skip to content

TerminalChanged

🛈 DocStrings

A terminal changed. appended is the new output, None for a replacement.

Source code in src/acptui/protocol/state.py
@dataclass(frozen=True)
class TerminalChanged:
    """A terminal changed. ``appended`` is the new output, ``None`` for a replacement."""

    terminal: TerminalState
    appended: bytes | None = None

:fa-brands-github: Show source on GitHub