Simulated Enter keypress from voice tools (Wispr Flow) not registered in raw mode

Resolved 💬 3 comments Opened Mar 27, 2026 by gokul-cuemath Closed Mar 27, 2026

Description

When using voice input tools like Wispr Flow with Claude Code in the terminal, the "Press Enter" voice command does not register. Regular dictation (typing words) works fine, but simulated key events for Enter/Return are not picked up.

The same "Press Enter" command works correctly in:

  • Regular terminal shell (outside Claude Code)
  • Browser-based applications
  • Other terminal applications

Root Cause (suspected)

Claude Code reads keyboard input in raw terminal mode directly from stdin. Voice tools like Wispr Flow send Enter as a macOS-level key event (CGEvent/accessibility API), which normal applications and shells process through the standard event pipeline. Claude Code's raw mode input handler does not pick up these simulated key events, even though it does pick up character-by-character text input from the same tool.

Expected Behavior

Simulated Enter keypresses from voice input tools should be recognized by Claude Code, just as they are in normal shell mode and other applications.

Environment

  • OS: macOS
  • Voice Tool: Wispr Flow (likely affects other voice input tools as well)
  • Claude Code: CLI terminal mode

Impact

This blocks voice-first workflows in Claude Code. Users who rely on voice input tools for accessibility or productivity cannot submit prompts hands-free.

View original on GitHub ↗

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