Skip to content

LayoutSettings

🛈 DocStrings

The layout settings of a session screen (the app updates them).

Source code in src/acptui/ui/screens/session.py
@dataclass(frozen=True)
class LayoutSettings:
    """The layout settings of a session screen (the app updates them)."""

    column_width: int = 0
    """A centered column for the conversation and the prompt (0: full width)."""
    footer: bool = True
    status_line: bool = True
    compact_input: bool = False

column_width class-attribute instance-attribute

column_width: int = 0

A centered column for the conversation and the prompt (0: full width).

:fa-brands-github: Show source on GitHub