Cursor state for one rendered frame.
The editor owns cursor semantics. The render model carries the resolved cursor position and shape so frontend adapters can encode or draw it without reaching back into editor state.
Summary
Functions
Creates a cursor model.
Types
@type shape() :: :block | :beam | :underline
@type t() :: %Minga.RenderModel.Cursor{ col: non_neg_integer(), row: non_neg_integer(), shape: shape() }
Functions
@spec new(non_neg_integer(), non_neg_integer(), shape()) :: t()
Creates a cursor model.