github / github/copilot-cli

Copy/paste does not work while agent is showing an interactive question with Wez's terminal emulator.

Ouverte
#3,347 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
area:input-keyboard area:platform-windows
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par le rendu du formulaire ask_user/elicitation et la gestion de la saisie, puis reproduisez le problème dans WezTerm en suivant les étapes indiquées. Comparez le comportement du collage dans une invite normale à saisie libre avec celui d’un champ de formulaire ; le travail est terminé lorsque le collage standard du terminal remplit le champ sans affecter la saisie normale.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
powershell
Domaine
cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.