claude-code - 💡(How to fix) Fix [BUG] /tui mode switching causes cursor to disappear and breaks mouse wheel

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

  1. Start claude in Windows Terminal (version 2.1.150)
  2. Confirm mouse wheel scrolling works in the default TUI mode
  3. Type /tui fullscreen and press Enter
  4. Observe: cursor disappears completely from the screen
  5. Press arrow keys to locate cursor — it has jumped to the bottom-right corner
  6. Try mouse wheel scrolling — it no longer responds
  7. Type /tui default and press Enter
  8. 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.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] /tui mode switching causes cursor to disappear and breaks mouse wheel