mirror of
https://github.com/openai/codex.git
synced 2026-12-04 00:51:02 +00:00
## Why Pasting multiple lines into a blockquote previously left subsequent lines unquoted. ## What changed - Continue the current line's `> ` prefix across pasted lines, including blank and trailing lines, in the TUI composer and embedded answer fields. - Append two unquoted newlines so typing resumes in the next Markdown block. Preserve quoting when large paste placeholders expand on submission. - Use a shared edit target for paste context and insertion so selection replacement uses the prefix at the replacement start. - Keep shell input and provisional startup pastes literal. ## Testing Add unit tests and rendering snapshots for blockquote pastes, embedded answers, cursor placement, selection replacement, and large-paste expansion. Add textarea tests for forward and backward selections, adjacent elements, and Vim Replace backspace recovery. GitOrigin-RevId: 525a7951aa16a25d49cc3be98822d0dd0709de97