Skip to content

TerminalSize

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970867357680["terminals.TerminalSize"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970867357680
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

The size of an agent-owned terminal in character cells.

Source code in src/aclientp/schema/v2/terminals.py
class TerminalSize(AnnotatedObject):
    """The size of an agent-owned terminal in character cells."""

    cols: int = Field(ge=1, le=65535)
    """Number of columns."""

    rows: int = Field(ge=1, le=65535)
    """Number of rows."""

cols class-attribute instance-attribute

cols: int = Field(ge=1, le=65535)

Number of columns.

rows class-attribute instance-attribute

rows: int = Field(ge=1, le=65535)

Number of rows.

:fa-brands-github: Show source on GitHub