Repository navigation
修复 Terminal 历史重放触发控制序列乱码 - #113
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复 Terminal 重挂载历史重放的 xterm 自动响应泄漏:terminalStream 现在原子返回历史快照并订阅实时消息;新增 replay/live 协调器,使用 xterm write completion callback 完整处理历史后才注册 onData,并在注册后按序刷新重放期间缓冲的实时输出。卸载会取消订阅并阻止延迟注册/PTY 写入,TerminalInstance 仍沿用 registry 的 xterm 释放流程。每个挂载会话使用独立流式 TextDecoder,避免跨重挂载的分段 UTF-8 状态污染。保持 1 MiB 历史预算、生命周期状态和 close 清理语义不变。新增行为级回归覆盖历史响应抑制、重放后键盘输入、实时查询响应、重放期间实时输出顺序、UTF-8 分块与重挂载、重放中卸载及生命周期历史。