[Bug] Claude drops keystrokes when editing prompts in external editor

Resolved 💬 7 comments Opened Nov 11, 2025 by aliou Closed Jan 15, 2026

Bug Description
When using Ctrl+G to open Neovim to edit the prompt, every few keystrokes is dropped and not correctly included in the prompt. This has been occurring since the move to the bun binary and wasn't happening with the node package. Running npx to launch Claude doesn't have the issue either.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.37
  • Feedback ID:

Errors

[{"error":"Error\n    at Kw (/$bunfs/root/claude:59:1142)\n    at <anonymous> (/$bunfs/root/claude:64:10074)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at spawnSync (unknown)\n    at spawnSync (node:child_process:226:22)\n    at execSync (node:child_process:275:109)\n    at T (/$bunfs/root/claude:1312:1602)\n    at kMD (/$bunfs/root/claude:1312:1780)\n    at request (/$bunfs/root/claude:66:2146)\n    at processTicksAndRejections (native:7:39)\n    at spawnSync (unknown)\n    at spawnSync (node:child_process:226:22)\n    at execSync (node:child_process:275:109)\n    at T (/$bunfs/root/claude:1312:1602)\n    at kMD (/$bunfs/root/claude:1312:1780)\n    at SMD (/$bunfs/root/claude:1312:2309)\n    at SMD (/$bunfs/root/claude:1312:2432)\n    at A (/$bunfs/root/claude:11:15230)","timestamp":"2025-11-11T10:22:39.912Z"},{"error":"Error\n    at Kw (/$bunfs/root/claude:59:1142)\n    at <anonymous> (/$bunfs/root/claude:64:10074)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:66:2146)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T10:22:50.567Z"}]

View original on GitHub ↗

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