[BUG] input field disappears after /model
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?
Switching models mid-session (from Opus for planning to Sonnet to building) led to the terminal UI losing the input field.
I used a separate Claude session to troubleshoot and apparently the input field disappearing after a /model switch is a known display glitch in Claude Code's terminal UI — the model switch causes a UI reinitialize that sometimes fails to redraw the input prompt.
#32467 might be a related issue since it's likely the same underlying TUI redraw problem, just triggered differently (model switching in my case).
<img width="732" height="473" alt="Image" src="https://github.com/user-attachments/assets/437c12b1-d0c0-41b3-9b73-8f1369df54ab" />
What Should Happen?
The terminal UI should look the same and the input field should persist after switching models.
Error Messages/Logs
Steps to Reproduce
- switch models mid-session, from Opus to Sonnet using /model sonnet
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.77 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗