Prompt bar UI bug in v2.1.23: text disappears, lines compact

Status Fixed / completed
Maintainer reply None cached
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.

View original on GitHub ↗

10 Comments

Maheidem · 7 months ago

Got this behavior in both MacOS default terminal AND iterm2

sleepo581 · 7 months ago

Critical bug.

asghar07 · 6 months ago

Still occurring

mtskf · 6 months ago

Same here. Happens on macOS with Ghostty terminal as well.

namnhfreelancer · 6 months ago

Same, macOS and Ghostty

schmunk42 · 6 months ago

Same. Arch, Gnome, ghostty.

samueldnj · 6 months ago

I have the same bug. Cursor IDE terminal with Claude Code CLI, macOS

ricardofrantz · 6 months ago

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

guppy-jpf · 6 months ago

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.

Nubaeon · 6 months ago

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.

Showing cached comments. Read the full discussion on GitHub ↗