claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Cursor blinks below status bar instead of at input prompt position

Open Kari-Basavaraj opened this issue 10 months ago • 1 comments

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?

The terminal cursor visually appears and blinks several lines below the status bar/HUD area instead of at the input prompt (❯) where text is being typed. The input still works (text appears at the correct location), but the blinking cursor is displaced.

What Should Happen?

The cursor should blink at the input prompt position (❯) where the user is typing.

Error Messages/Logs

# No errors - purely visual rendering issue

Steps to Reproduce

  1. Open Ghostty terminal (or Terminal.app)
  2. Run claude
  3. Observe cursor position - it appears below the visible input area
  4. Type text - text appears correctly at the prompt, but cursor blinks elsewhere

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

Unknown

Claude Code Version

2.1.11

Platform

Anthropic API

Operating System

macOS (Darwin 25.0.0, arm64)

Terminal/Shell

Ghostty 1.2.3, Terminal.app (both affected)

Additional Information

Environment:

  • TERM: xterm-256color
  • GHOSTTY_SHELL_FEATURES: path,title (cursor removed via config)
  • Shell: zsh

Troubleshooting attempted (none resolved the issue):

  1. Disabled custom statusLine configuration
  2. Removed all debug echo hooks from settings.json
  3. Disabled claude-hud plugin
  4. Updated Ghostty config with shell-integration-features = no-cursor
  5. Added .zshrc workaround to strip cursor from GHOSTTY_SHELL_FEATURES
  6. Verified GHOSTTY_SHELL_FEATURES shows path,title only
  7. Tested in Terminal.app - same issue persists

Related Issues: This may be related to the broader TUI rendering issues in v2.1.x:

  • #17816 (slash command highlight offset)
  • #18493 (resize content loss)
  • #18716 (/context disappears)

The cursor position and these other issues may share a common root cause in the TUI rendering layer.

Kari-Basavaraj avatar Jan 17 '26 10:01 Kari-Basavaraj

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/910
  2. https://github.com/anthropics/claude-code/issues/17787
  3. https://github.com/anthropics/claude-code/issues/16372

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Jan 17 '26 10:01 github-actions[bot]

This issue has been automatically closed as a duplicate of #910.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Jan 21 '26 09:01 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Jan 29 '26 14:01 github-actions[bot]