[BUG] CLAUDE CODE TUI Scrolling in PowerShell makes text unreadable
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude almost always gives answers that don't fit on a single screen. No problem. However, when I inevitably scroll back inside the PowerShell TUI, the input cursor is now jumped up to the scroll point, and subsequent input is done inside of and on top of existing text, making it unreadable.
What Should Happen?
The input position should not change, and indeed if I start typing it should jump the scroll down to the location of the input line. This is exacerbated by the fact that there is no "clear screen" command, only the command to clear conversation history, which defeats the purpose of wanting to continue the conversation.
Error Messages/Logs
No errors are generated
Steps to Reproduce
- Run claude code TUI
- Ask it a question to get a multi-screen answer
- Scroll up to view previous text
- Start typing to try to input a follow up prompt
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.71
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
This would be slightly easier if a "cls" command existed to preserver conversation history but clear output screen.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗