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

Cursor Style Interference: Claude Overrides Terminal Cursor Behavior

Open felixbuenemann opened this issue 8 months ago • 5 comments

Bug Description Claude should not change the cursor style of the terminal or provide a setting to disable it. I usually have an outline block cursor, when the terminal window/tab is inactive and a solid block when it is active. Since claude code always has a solid block cursor, I am constantly typing into the wrong tab, because I think claude is active.

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.57
  • Feedback ID: b845b32f-44b6-4d4f-9b3a-eb4bd22a1603

felixbuenemann avatar Apr 01 '25 15:04 felixbuenemann

Thanks for the feedback! We do not support inferring terminal cursor styles at the moment. We may look into it in the future.

sid374 avatar Apr 01 '25 19:04 sid374

If I understand @felixbuenemann's original message correctly, the problem here is more about the current cursor styling being confusing because it doesn't change when the terminal that Claude is running in is active.

Personally, I don't have a strong preference for what the specific styles are, but it would be really helpful for the active and inactive terminal cursors to at least be different from each other. I'm also constantly typing into the wrong tab because I think Claude is active.

jamesbvaughan avatar Sep 29 '25 22:09 jamesbvaughan

The active/inactive cursor styling is just a subset of cursor styling that a user's terminal may be applying. E.g. I have:

  • block for normal mode in zsh vi-mode
  • beam for insert mode in zsh vi-mode
  • underscore for replace mode in zsh vi-mode
  • outline block for inactive terminals

claude-code should either not override these settings, or allow configuration for all of these.

sodiumjoe avatar Dec 02 '25 01:12 sodiumjoe