TerminalTextReplacementEvent
data class TerminalTextReplacementEvent(val deleteAfterCursorCount: Int, val deleteBeforeCursorCount: Int, val replacementText: String) : TerminalInputEvent
One logical terminal text replacement around the active cursor.
Counts are terminal editor actions, not UTF-16 or code-point counts. The UI that owns the edited text must translate its text model into the number of Delete and Backspace actions required by the host editor.