Description
While Claude Code is streaming a response, if you scroll up using the mouse wheel, the scroll position frequently jumps back to the very top of the terminal. This makes it impossible to review earlier parts of the conversation during generation.
Reproduction steps
- Use Claude Code in Windows Terminal until the conversation is long enough to scroll
- Ask a question that produces a long streaming response
- While the response is being generated, scroll up with the mouse wheel
- The viewport jumps to the very top of the terminal buffer
Key observations
- Only happens during streaming — once generation completes and the input prompt appears, scrolling works normally
- Likely related to cursor repositioning / ANSI escape sequences used for spinner or status line updates during streaming, which interfere with Windows Terminal's scroll position
Environment
- Claude Code: 2.1.80
- OS: Windows 11 Pro (10.0.26200)
- Terminal: Windows Terminal
- Shell: bash (Git Bash)
🤖 Generated with Claude Code
Description
While Claude Code is streaming a response, if you scroll up using the mouse wheel, the scroll position frequently jumps back to the very top of the terminal. This makes it impossible to review earlier parts of the conversation during generation.
Reproduction steps
Key observations
Environment
🤖 Generated with Claude Code