Per-window product of the Content stage.
Carries the semantic RenderModel.Window structs a single editor window
produces (the buffer/chat window model plus any additional models such as
the agent prompt input) and the buffer cursor that window resolves, if it is
the active window. Compose flattens the models into the frame's window list
and resolves the final cursor from the per-window cursors and chrome.
Summary
Functions
Builds a window content entry from a primary model, additional models, and the window's resolved cursor.
Types
@type t() :: %MingaEditor.RenderPipeline.WindowContent{ cursor: Minga.RenderModel.Cursor.t() | nil, models: [Minga.RenderModel.Window.t()] }
Functions
@spec new( Minga.RenderModel.Window.t() | nil, [Minga.RenderModel.Window.t()], Minga.RenderModel.Cursor.t() | nil ) :: t()
Builds a window content entry from a primary model, additional models, and the window's resolved cursor.
The primary model may be nil (e.g. a suppressed agent help frame); it is dropped from the model list when so.