Copy/paste does not work while agent is showing an interactive question with Wez's terminal emulator.
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
### Summary
With WezTerm, Paste-into-prompt does not work while the agent is displaying an interactive question (the elicitation/ask_user form). Pasting works normally outside of these prompts.
### Repro
1. Using wezterm, start an interactive session with `copilot`.
2. Ask the agent something that causes it to invoke the elicitation/ask_user tool (i.e. it presents a form-style question with one or more fields).
3. Try to paste text into one of the form fields.
### Expected
Standard terminal paste should populate the field with clipboard contents.
### Actual
Paste keystroke is dropped or otherwise has no effect on the form field. Direction affected: **paste-in only** (copy-out from these prompts was not specifically tested).
### Environment
- Copilot CLI version: `1.0.49-1` (`GitHub Copilot CLI 1.0.49-1`)
- OS: Windows 10.0.26200 (Windows 11)
- Shell: PowerShell 7.5.5
- Terminal: **wezterm**
### Notes
- Reproducible across multiple prompts; happens specifically and only during the ask_user / elicitation form rendering, not during normal output or normal user-input lines.
- Workaround: cancel the form, paste the value into the next free-form prompt, and re-trigger the question. Not a fix.
### Impact
Mild but recurring friction — every time the agent asks a structured question that needs pasted content (IDs, URLs, long titles, etc.), the user has to type or work around the form.
### Affected version
_No response_
### Steps to reproduce the behavior
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
贡献指南
调研方向
先从 ask_user/elicitation 表单的渲染和输入处理入手,然后按照列出的步骤在 WezTerm 中重现该问题。比较普通自由格式提示和表单字段中的粘贴行为;当标准终端粘贴能够填充字段且不影响正常输入时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100