fix(frontend): restore terminal tab scroll position

preserve xterm viewport intent when switching terminal tabs so
bottom-pinned sessions stay pinned and manually scrolled sessions
keep their history position

unify viewport restoration across activation, fit, and resize
paths to avoid losing scroll state after terminal reflow
This commit is contained in:
yinjianm
2026-03-25 05:54:43 +08:00
parent 654295e0c8
commit d74e84c87b
8 changed files with 190 additions and 6 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
```yaml
kb_version: 2.3.7
最后更新: 2026-03-25 05:39
最后更新: 2026-03-25 05:52
模块数量: 4
待执行方案: 0
```