Raxol. UI. Rendering. PaintAuthority. IOAuthority
(Raxol v2.6.1)
View Source
Minimal production PaintAuthority stub: writes every emit straight to
IO.write/1 and otherwise just tracks dimensions. This is deliberately
NOT a full implementation — no scroll-region (DECSTBM) lifecycle, no
D-PA-scoped resize policy, no real cursor-save dialect wiring. It exists
so Raxol.UI.Rendering.PaintAuthority has at least one non-test
implementation to compile against, and so the "tag layer costs nothing
in prod" claim in the module doc is checkable: this module emits the
same bytes Raxol.Harness.Test.CaptureAuthority records, minus the tags.
A real production implementation still needs to fill this in: scroll region set/teardown, resize policy per D-PA, dialect-pinned cursor protocol.
Summary
Functions
Builds a new authority state. region_top defaults to height - 1 (a one-row footer).
Types
@type t() :: %Raxol.UI.Rendering.PaintAuthority.IOAuthority{ height: pos_integer(), region_top: pos_integer(), width: pos_integer() }
Functions
@spec new(pos_integer(), pos_integer(), pos_integer() | nil) :: t()
Builds a new authority state. region_top defaults to height - 1 (a one-row footer).