Previous prompts lost after editing
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### Describe the bug
Previous prompts are lost when editing them.
### Affected version
1.0.65
### Steps to reproduce the behavior
1. Go to a previous prompt (for example, using the up arrow)
2. Edit the prompt (clear it completely, or edit it partially)
3. Press enter
Original prompt is now lost. This is specially painful when the line was cleared completely.
### Expected behavior
Original prompt remains in history.
### Additional context
Ubuntu 24.04.4.
x86_64.
GNOME Terminal 3.52.0.
zsh 5.9.
Guia de contribuição
Direção de pesquisa
No files or tests are named. First reproduce the issue in Copilot CLI under zsh by recalling a previous prompt, editing it, and pressing Enter; then trace the prompt-history handling. Done means edited prompts, including completely cleared ones, remain available in history.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell, zsh
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 68/100