github / github/copilot-cli

Pending chat lines duplicate and won't go away, eventually filling up the screen

未关闭
#4,532 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Describe the bug

I started noticing this bug come up where when I submit a response while agent is working it gets the normal pending thing, but after it submits, the pending line hangs out at the bottom of the screen. Submitting more things adds extra lines and sometimes causes weird duplicates. Eventually the whole screen can be filled with them.

Image

I'm not sure if it's just the version I'm on or if an extension I just built that sometimes submits lines (extension allows separate agent session to send messages to each other). Either way, my extension shouldn't have the power to be janking up the UI this bad I wouldn't think?

Affected version

1.0.81-3

Steps to reproduce the behavior
  1. Get the agent working and start submitting some pending requests
Expected behavior

I expect that the pending messages

  1. Go away once submitted
  2. Even if I have tons, it should make them collapsible or something (kind of like the queue mode) so they don't take up the entire screen if I have a lot or an extension gets weird and posts for me multiple times.
Additional context

Restarting the session will clear it, but that's only thing I found that works :(

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定文件或测试。首先,在 agent 工作期间提交多个请求,在版本 1.0.81-3 上重现问题,然后追踪 terminal UI 中待处理消息的生命周期。当已提交的待处理行消失,并且重复请求或由扩展生成的请求不再永久填满屏幕时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。