Skip to content

Bug: TUI apps crash when activating voice IME (long-press Ctrl) on Windows #75

@The-Ladder-of-Rrogress

Description

@The-Ladder-of-Rrogress

Description

When running TUI applications (e.g., opencode) in OpenWarp on Windows, long-pressing Ctrl to activate a voice IME (e.g., Zhipu IME / Meta Echo) causes the TUI app to immediately exit/crash.

Reproduction Steps

  1. Install OpenWarp v2026.05.10.preview on Windows
  2. Launch any TUI application: opencode
  3. Long-press the right Ctrl key to activate a voice IME
  4. The TUI app immediately exits

Expected Behavior

The TUI app should continue running after IME activation.

Actual Behavior

The TUI app crashes/exits immediately when the voice IME is activated.

Environment

  • OS: Windows 11
  • OpenWarp version: v2026.05.10.preview (zerx-lab fork)
  • TUI app tested: opencode v1.14.48
  • IME tested: Zhipu IME, Meta Echo
  • Hotkey: Long-press right Ctrl

Additional Notes

Possible Root Cause

When the voice IME activates via long-press Ctrl:

  1. The IME UI pops up, potentially causing a focus change in Warp
  2. Warp's input mode may transition between passthrough and native input
  3. During this transition, Warp may send unexpected control sequences or terminal reset sequences to the PTY
  4. The TUI app receives these and exits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions