Focus/cursor issues during tool execution and suggestion acceptance

Resolved 💬 3 comments Opened Jan 13, 2026 by ddp Closed Feb 27, 2026

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?

Description:

During extended Claude Code sessions, two related focus issues occur:

  1. Cursor disappears after accepting suggestions
  • After accepting a suggestion (clicking the accept button), focus returns to the input area but the cursor is invisible
  • Cursor reappears only after typing or arrow key movement
  • Creates uncertainty about whether input is active
  1. Focus captured during tool execution
  • While Claude is executing tools (especially rapid sequences of reads/edits/bash), the input area intermittently captures focus
  • Makes it difficult to type feedback or corrections while Claude is working
  • User described it as "jerking" the cursor/focus

Environment:

  • Claude Code CLI
  • macOS (Darwin 25.2.0, Apple M2)
  • Extended session with many tool calls

Impact:

  • Disrupts workflow when trying to provide real-time guidance
  • Creates friction in collaborative editing sessions
  • User has to wait for tool execution to complete before reliably typing

Workaround:

  • Press arrow key or type a character to restore cursor visibility
  • Wait for tool execution to complete before typing feedback

What Should Happen?

Ensure focus is restored to cursor after any pop-up request.

Error Messages/Logs

Steps to Reproduce

See bug report.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

Claude Code 2.1.6 (Homebrew Cask, installed 2026-01-13)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗