claude-code
claude-code copied to clipboard
"Vim Mode: Cursor Always Visible Across Multiple Terminal Instances"
Bug Description Ok so the main issue is that when in vim mode the cursor always shows up. So if I have two or three claude codes running in the same terminal (i.e. tmux altho i just use kitty terminal's built in functionalitiy, it's very hard to tell which one is active. The ideal solution would be what happens if I have multiple neovims open in the same fashion - the cursor only shows in the active one.
Environment Info
- Platform: macos
- Terminal: kitty
- Version: 1.0.7
- Feedback ID: b57f5d65-3313-4b47-b391-7125ce2fb948
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at BZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:638:3921)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:566:6930\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17069)\n at fl (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:566:5949)\n at YG (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:566:5580)\n at fq2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1999:4809)","timestamp":"2025-05-31T20:44:23.459Z"}]
So to say it more simply: When using Vim mode, Claude Code always shows the block cursor even when "inactive". It should work like other terminal-based apps (such as Neovim) - the cursor should only show in the active window.
See: Screenshot, note how there are two cursors showing up when there should only ever be one
I also find this a UX issue. I find myself typing in the wrong terminal as a result because it looks like Claude has focus. The solution would be to hide the cursor when the terminal does not have focus.
Same issue here: frequently causes me to type in the wrong terminal pane
Possibly a duplicate of (or at least related to) this earlier issue, which mentions tmux but not vim: https://github.com/anthropics/claude-code/issues/842
This issue is still present. It is very confusing seeing the cursor all the time.