Mirrored from upstream for consensus-rnd Track A.
Upstream: openai#28167
Summary:
TUI composer wedges on tmux paste-buffer + immediate Enter: bracketed-paste state not exited before submit (codex-cli 0.139.0)
Acceptance criteria:
- Verify the upstream reproduction against the current checkout.
- Implement the smallest fix that satisfies the expected behavior if the bug still reproduces.
- Add focused regression coverage in codex-apply-patch tests.
Target crate: repo-owned bounded module
Selection rubric:
- Small or medium mechanical bug.
- Clear reproduction and expected behavior.
- Owned by this repository and bounded to identifiable files/modules.
- Has focused CLI, exec, TUI, config, apply_patch, or local regression test path.
- Avoids auth, app-server, desktop app, extension, iOS, web, broad sandbox policy, account safety, and ambiguous service incidents.
Mirrored from upstream for consensus-rnd Track A.
Upstream: openai#28167
Summary:
TUI composer wedges on tmux paste-buffer + immediate Enter: bracketed-paste state not exited before submit (codex-cli 0.139.0)
Acceptance criteria:
Target crate: repo-owned bounded module
Selection rubric: