[BUG] /tui mode switching causes cursor to disappear and breaks mouse wheel
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?
After switching TUI renderer with /tui fullscreen or /tui default, the cursor disappears completely from the screen.
It can only be found by pressing arrow keys — it has jumped to the bottom-right corner of the terminal.
Additionally, mouse wheel scrolling stops working in fullscreen mode after the switch (it works fine before any /tui command is issued).
What Should Happen?
Cursor should remain at the input prompt after mode switch. Mouse wheel scrolling should continue to work in fullscreen mode after switching.
Error Messages/Logs
Steps to Reproduce
- Start
claudein Windows Terminal (version 2.1.150) - Confirm mouse wheel scrolling works in the default TUI mode
- Type
/tui fullscreenand press Enter - Observe: cursor disappears completely from the screen
- Press arrow keys to locate cursor — it has jumped to the bottom-right corner
- Try mouse wheel scrolling — it no longer responds
- Type
/tui defaultand press Enter - Observe: cursor disappears again, same bottom-right corner behavior
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.150
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
Before any /tui command is issued, both mouse wheel scrolling and PgUp/PgDn work perfectly in the initial default
mode. The bug only manifests AFTER switching modes with /tui.
Tested on Windows 11 Pro 10.0.26200, Windows Terminal v1.22.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗