Skip to content

EntryChanged

🛈 DocStrings

A timeline entry changed.

For messages, appended holds the text added by a chunk (so a UI can stream it); None means the content was replaced and must be rendered anew.

Source code in src/acptui/protocol/state.py
@dataclass(frozen=True)
class EntryChanged:
    """A timeline entry changed.

    For messages, ``appended`` holds the text added by a chunk (so a UI can stream
    it); ``None`` means the content was replaced and must be rendered anew.
    """

    entry: Entry
    appended: str | None = None

:fa-brands-github: Show source on GitHub