//! Input composer state: text buffer, cursor, and history recall.
//!
//! Everything the user types into the composer lives here: the working
//! `buffer`, the `cursor` byte offset, and the Up/Down history stack
//! (`history`, `history_index`, `history_draft`).
/// State for the message composer: current draft and history recall.