fix: prevent stale terminal surface repins on workspace switch - #93
Merged
Conversation
chenbstack
added a commit
that referenced
this pull request
Jul 21, 2026
…可见性判断 PaneView's deferred re-pin guard (#93) duplicated WorkspaceStore's private isPaneVisible verbatim because it wasn't callable from outside. Split the logic into a pure static core plus an instance wrapper, reuse it from PaneView, and cover the visibility semantics with a unit test (selected tab vs background tab vs foreign/no workspace). CN: 将 PaneView 中与 WorkspaceStore.isPaneVisible 逐字重复的 pane 可见性判断收敛为共享实现(纯静态核心 + 实例包装),并补充可见性语义的单元测试,防止两处逻辑日后漂移。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
chenbstack
added a commit
that referenced
this pull request
Jul 21, 2026
Add the curated bilingual What's New entry for 0.1.26-beta.5: fix for stale terminal surface repins after workspace/tab switches (#93). CN: 补充 0.1.26-beta.5 更新内容:修复 workspace/标签页切换后窗格被旧终端 surface 重新占用的问题。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
变更内容 / Summary
验证方式 / Testing
截图或录屏 / Screenshots or recordings
不适用(无 UI 样式变化)。
关联议题 / Related issues
无。