# Mouse selection in content coordinates, capped OSC 52 copy Status: accepted ## Context The chat scrolls and streams while the user selects. Copying goes through OSC 52, and some terminals drop payloads above a size limit. ## Decision Selection coordinates are `(row, col)` in the wrapped content, not on screen, so scrolling does not move a selection. The selected text is extracted from an off-screen render of the chat. OSC 52 payloads are cut to `MAX_COPY` bytes on a char boundary. ## Consequences Selections survive scrolling and streaming. Very large copies are silently truncated. Code: crates/hx-tui/src/select.rs (module, MAX_COPY, truncate)