feat: 真实 PTY resize 控制通道修复终端错位 - #104
Conversation
|
/opencode 审查提交 |
PR 审查报告: feat: 真实 PTY resize 控制通道修复终端错位验证结果(全部通过)
总体评价架构整体质量很高。真实 PTY resize 控制通道( 以下按严重度列出发现的问题。 中高 — 需要处理H1. 中 — 建议修复M1. 断开状态下关闭终端不发送 close-pty(绕过 N2-I2 队列设计) M2. GameDeploymentPage 关闭残留终端时监听器泄漏 + 未 settle 路径 M3. 优雅关闭时间预算偏紧 低 — 可选优化
未发现问题
结论:除 H1(建议合并前处理 opencode.yml 回退)和 M1(建议补一个 |
|
@sakuradairong 优化下 |
757ec5b to
aae0a01
Compare
|
已按审查反馈处理并推送: 处理项:
验证结果: 未运行:浏览器 E2E、Windows 实机、ARM64 实机。 |
|
/opencode 审查修改 落实是否有效 |
Co-authored-by: yxsj245 <yxsj245@users.noreply.github.com>
审查结论:修改已落实,整体有效我检查了工作区(当前即 验证命令(本机复跑)
审查问题逐项落实情况
|


Summary
Supersedes #103 with a clean branch rebased from the latest
upstream/main.This PR keeps Xterm.js and fixes terminal misalignment by adding a real PTY resize path:
Scope
Focused on the terminal misalignment / PTY resize issue. The previous fork-only file-deploy and Steam branch commits are not included in this clean PR branch.
Verification
cd server && npx tsc --noEmitcd server && npx jest --runInBand— 5 suites / 40 tests passingcd client && npx tsc --noEmitnode --check scripts/package.jsbash -n install-gsm3.shgit diff --check upstream/main...HEADNot run in this rebuild pass: