Terminal performance degradation with large history and auto-scrolling issues when switching from Expand Mode to Normal Mode
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- cli
- Domínio
- cli
Direção de pesquisa
Start by locating the terminal history rendering and the code that switches between Expand Mode and Normal Mode; the issue does not name files or tests. Reproduce with heavy output, then switch modes and observe history scrolling and responsiveness. Done means long sessions remain responsive and returning to Normal Mode preserves the current scroll position.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
The CLI tool retains too much terminal history without a proper limit, leading to lag, slow scrolling, and eventual unresponsiveness/freezing over long sessions. Additionally, switching from Expand Mode back to Normal Mode triggers an unwanted, prolonged auto-scroll from top to bottom.
Expected Behavior
History Management: The terminal should handle accumulated output smoothly (e.g., via an output buffer limit or virtual scrolling) without freezing or lag.
Display Mode Switching: Returning from Expand Mode to Normal Mode should preserve the current scroll position instead of auto-scrolling all the way from top to bottom.
Actual Behavior
1.As logs and terminal history accumulate over time, scrolling becomes extremely slow.
2.In long sessions, the terminal occasionally freezes or becomes entirely unresponsive.
3.When switching from Expand Mode back to Normal Mode, the view sometimes automatically scrolls continuously from the top to the bottom for an extended duration.
Steps to reproduce the issue
1.Start a long session or generate heavy output in the terminal using Command Code.
2.Notice the gradual lag and slow scrolling as history grows.
3.Switch into Expand Mode and then switch back to Normal Mode.
4.Observe the automatic scrolling behavior from top to bottom.
Command Code Version
1.88.5
Operating System
Windows
Terminal/IDE
Powershell
Shell
No response
Session file (optional)
No response
Fix prompt (optional)
No response
Additional context
No response
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 4.2k
- Forks
- 377
- Merge médio
- 1d 17min
- PRs com merge (30d)
- 7
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CommandCodeAI/command-code
-
Provider /v1/messages rejects role:"system" inside messages[] — Claude Code ≥ 2.1.154 incompatibleAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
CommandCodeAI/command-code#1085 ·
Mantenedores costumam responder em até 1 dia
-
Feature request: auto-reconnect remote control (/rc) after restartTalvez já em andamento @aliarain assumiu há 20 dias. Abertap2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
CommandCodeAI/command-code#992 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
CommandCodeAI/command-code#933 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
CommandCodeAI/command-code#855 ·
Mantenedores costumam responder em até 1 dia
-
grep tool passes empty file type to ripgrepTalvez já em andamento @ahmadbilaldev assumiu há 19 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
CommandCodeAI/command-code#655 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de CommandCodeAI/command-code
Issues semelhantes
-
nb stats: the high-error-rate anomaly and the error-causes line give different cause splits for the same errorsTalvez já em andamento @jeanibarz assumiu hoje. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 89/100
jeanibarz/agent-notebook#418 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: graphify query loads every language extractor just for _file_stem (about 34 ms per call)Talvez já em andamento @rohit-jsfreaky assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Graphify-Labs/graphify#5160 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
WenyuChiou/agent-board#1345 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
bug triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
wavetermdev/waveterm#3587 ·
Mantenedores costumam responder em até 1 dia