Shared prompt-input and scroll mechanics for inline overlays.
Inline ask and inline edit edit a :prompt string while :status is
:input, and scroll their body with a :scroll offset clamped at zero.
Those transitions only touch fields common to both variant structs, so
they live here once instead of being copied per variant.
Each function takes and returns the variant's own struct, so the variant
modules keep their @enforce_keys, kind-specific fields, and terminal
transitions while delegating these shared edits.
Summary
Functions
Appends text to the prompt while the overlay is accepting input.
Deletes one prompt grapheme while the overlay is accepting input.
Scrolls the overlay body, clamped at zero.
Types
Functions
Appends text to the prompt while the overlay is accepting input.
Deletes one prompt grapheme while the overlay is accepting input.
Scrolls the overlay body, clamped at zero.