github / github/copilot-cli

Visual artifacts / "ghost" characters remain rendered in TUI after deleting text

未关闭
#3,959 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

When backspacing or deleting a text string within the Copilot CLI prompt, the visual interface fails to completely clear or redraw the terminal cells. Characters from the deleted text remain floating/rendered as visual artifacts (ghost characters) even though they are logically removed from the input buffer.

Image

### Affected version

v1.0.65

### Steps to reproduce the behavior

1. Open Copilot CLI in a terminal emulator.

2. Type a long prompt or command string.

3. Use Backspace to rapidly delete or clear portions of the text.

Observe that sporadic characters from the original string remain statically rendered on the screen despite the cursor moving past or behind them.

### Expected behavior

When rapidly deleting character from a long prompt or command string there should not be any remaining "ghost" characters rendered.

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

Reproduce the issue in Copilot CLI v1.0.65 using a long prompt, then rapidly delete text with Backspace in a terminal emulator. Trace the CLI's TUI input and terminal-cell redraw path, and verify that deleting text leaves no residual characters while the cursor moves through the prompt.

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

评估

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

把新 issue 发到你的邮箱

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