-
Notifications
You must be signed in to change notification settings - Fork 4
交互 Bug:流式输出时向上滚动会被强制拉回到底部 #222
Copy link
Copy link
Closed
Labels
area:toolsBuilt-in tools and tool runtimeBuilt-in tools and tool runtimearea:tuiTerminal UI and interaction layerTerminal UI and interaction layerbugSomething isn't workingSomething isn't workingneeds-triageIssue needs initial triageIssue needs initial triage
Description
Metadata
Metadata
Assignees
Labels
area:toolsBuilt-in tools and tool runtimeBuilt-in tools and tool runtimearea:tuiTerminal UI and interaction layerTerminal UI and interaction layerbugSomething isn't workingSomething isn't workingneeds-triageIssue needs initial triageIssue needs initial triage
问题描述
AI 输出(尤其是流式输出)时,用户向上滚动终端查看历史内容,视口会被强制拉回到底部,阅读/复制之前的内容变得不可用。
实际行为
原因分析(初步)
packages/tui/src/features/timeline/ChatWidget.tsx用 Ink 的<Static>渲染已提交历史,正在流式输出的 turn 作为 live 区域(TurnCell)每帧重绘。期望
影响范围
packages/tui(timeline 流式输出渲染)