Terminal performance degradation with large history and auto-scrolling issues when switching from Expand Mode to Normal Mode
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cli
- Ambito
- cli
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 4.2k
- Fork
- 377
- Merge medio
- 1g 17m
- PR unite (30g)
- 7
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CommandCodeAI/command-code
-
Provider /v1/messages rejects role:"system" inside messages[] — Claude Code ≥ 2.1.154 incompatibleAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
CommandCodeAI/command-code#1085 ·
I maintainer di solito rispondono entro 1 giorno
-
Feature request: auto-reconnect remote control (/rc) after restartForse già presa @aliarain l’ha presa 20 giorni fa. Apertap2
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
CommandCodeAI/command-code#992 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CommandCodeAI/command-code#933 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CommandCodeAI/command-code#855 ·
I maintainer di solito rispondono entro 1 giorno
-
grep tool passes empty file type to ripgrepForse già presa @ahmadbilaldev l’ha presa 19 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
CommandCodeAI/command-code#655 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di CommandCodeAI/command-code
Issue simili
-
nb stats: the high-error-rate anomaly and the error-causes line give different cause splits for the same errorsForse già presa @jeanibarz l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 89/100
jeanibarz/agent-notebook#418 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: graphify query loads every language extractor just for _file_stem (about 34 ms per call)Forse già presa @rohit-jsfreaky l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Graphify-Labs/graphify#5160 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
WenyuChiou/agent-board#1345 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
bug triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
wavetermdev/waveterm#3587 ·
I maintainer di solito rispondono entro 1 giorno