kiro-cli tui automatically jumps to the first line while agent is running
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Windows11
Kiro Version
2.13.0
Bug Description
the viewport unexpectedly jumps back to the beginning of the conversation while the agent is still running. I am not manually scrolling when this happens. During tool execution or while the assistant is generating a response, the UI occasionally refreshes and automatically moves the viewport to the first line of the session. This makes it difficult to follow the current progress because the view continuously loses its position.
Steps to Reproduce
1.Ask Kiro to generate a long response. 2.Scroll down to the middle of the response using the mouse wheel or scrollbar. 3.Continue reading or wait a few seconds. 4.Observe that the viewport automatically jumps back to the first line.
Expected Behavior
The scroll position should remain where the user placed it until manually changed.
Conversation ID
No response
Additional Context
No response
🤖 Potential Duplicate Detected
This issue appears to be similar to:
What happens next?
- ⏰ This issue will be automatically closed in 3 days
- 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
- 💬 Comment on the original issue if you have additional information
Why is this marked as duplicate? Both issues describe the same core problem: the chat/TUI viewport automatically scrolling (jumping) while Kiro is streaming/running a response, making it difficult to read earlier content. The new issue reports jumping to the first line, while #8579 requests an option to disable auto-scroll during streaming - they are addressing the same underlying auto-scroll behavior from different angles (bug report vs feature request).
This is not the same issue.
Issue #8579 is a feature request to add an option for disabling auto-scroll.
My issue is a bug where the TUI unexpectedly jumps to the first line of the conversation while the agent is running.
This appears to be a viewport/state management bug rather than a missing feature.
Thank you for your feedback! 🙏
The duplicate label has been removed and this issue has been sent back for maintainer review.
A maintainer will review this issue shortly.
Probably a duplicate of https://github.com/kirodotdev/Kiro/issues/9269 which got closed. Updating to the latest version (2.14.0) does not fix this issue.
Reproducing on Windows 11 with Kiro CLI 2.14.2 — same symptom, one version newer than the original report.
Environment
- Windows 11 Home 25H2, build 26200.8894
- Kiro CLI
kiro-cli-chat 2.14.2 - Windows Terminal 1.24.11911.0, PowerShell 7.6.3
chat.uiunset, so the defaulttuiengine is in use
Same behaviour: while the agent is working, the viewport jumps back to the start of the conversation on its own. Scrolling up with the mouse wheel to read earlier output, then waiting a few seconds during tool execution or response generation, reliably loses the position.
Two details that might help triage:
-
It looks like a repaint that rewinds the cursor past the top of the viewport rather than an explicit scroll. That would explain why no terminal-side setting affects it — in Windows Terminal there is no option that prevents an application's own repaint from moving the viewport.
-
Reading via
Ctrl+T(/transcript) is completely unaffected, which seems consistent with the above:$PAGERgets its own buffer that the agent never repaints. That is a usable workaround for anyone hitting this, though it does not help while watching live output.
For reference, this looks like the same class of problem as anthropics/claude-code#37674 and #37366, where repaints drag the viewport regardless of terminal scroll settings. Claude Code's answer was an alternate-screen ("fullscreen") rendering path, which only renders the visible region and never touches the main scrollback. Kiro's TUI already being the default engine means there is no equivalent mode to opt into here.
Also possibly related: #9269 was closed as completed on 2026-07-23 with no linked PR or comments, and #10454 was filed the next day with what reads like the same symptom — so this may not be as resolved as that closure implies.
Happy to provide a Conversation ID or test a build if that would help.
Thanks for raising this. The TUI viewport automatically jumping back to the beginning of the conversation while the agent is still running is a real scrollback regression — streaming output should not force the viewport to line 1. Marking this as a bug to investigate further.