Prompt bar UI bug in v2.1.23: text disappears, lines compact
Status Fixed / completed
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 11 comments · opened Jan 29, 2026 · closed Aug 19, 2026
Description
After updating to Claude Code v2.1.23, the prompt bar displays incorrectly:
- The prompt bar compacts into two parallel lines with no spacing between them
- Text typed in the prompt disappears (not visible while typing)
Version
- Claude Code: v2.1.23
- Platform: macOS (Darwin 25.2.0)
Expected Behavior
Prompt bar should display as a single line with visible text input
Actual Behavior
- Prompt bar compacts into two overlapping lines
- Typed text is not visible in the input field
When Started
Immediately after updating from previous version to v2.1.23
Impact
This makes it very difficult to use the CLI as you cannot see what you're typing.
Showing cached comments. Read the full discussion on GitHub ↗
10 Comments
Got this behavior in both MacOS default terminal AND iterm2
Critical bug.
Still occurring
Same here. Happens on macOS with Ghostty terminal as well.
Same, macOS and Ghostty
Same. Arch, Gnome, ghostty.
I have the same bug. Cursor IDE terminal with Claude Code CLI, macOS
Temporary fix: disable any custom status line in your Claude Code settings. Go to your global settings file at ~/.claude/settings.json and remove (or comment out) the "statusLine" block entirely. In my case it looked like "statusLine": { "type": "command", "command": "~/.claude/statusline.sh" }. After removing it, restart Claude Code and the prompt bar renders correctly again.
The likely cause is that custom status line scripts output ANSI escape sequences (color codes, Unicode/emoji characters) whose visible width is ambiguous — terminals can disagree on whether characters like ⎇ or █ occupy 1 or 2 columns. Claude Code's TUI renderer has to calculate the exact pixel height of the status bar to allocate space for the prompt input area, and when those width calculations are off by even a few columns, the status text wraps unexpectedly, the prompt area gets the wrong dimensions, and your typed text ends up rendered outside the visible region. Removing the custom status line eliminates this mismatch.
if you are facing this problem check : https://github.com/anthropics/claude-code/issues/24514
i've also frequently experienced this issue periodically in recent (2.1.x) versions.
today, i followed the advice in #24514, and updated my custom status line to not try to be fancy with right-justified info,
just pushed everything to the left, so it's unlikely to overflow the terminal width. seems to be behaving so far, so +1.
Yeah still happening intermittently, across multiple Claude code instances at once, so don't think this has been fixed as such, I am on Linux / Tmux for orchestration.
I do have a custom statusline script but this was working correctly for months, this is a recent development, and could be related to something deeper.