Skip to content

Windows TUI ignores typing until Enter is pressed once #121

Description

@DrBattletoad

Environment:

  • Windows 11
  • Windows Terminal 1.24.11321.0
  • dirac-cli 0.3.44
  • Installed via npm
  • Local model through LM Studio

Steps to reproduce:

  • Run dirac
  • TUI opens, and the input cursor is visible
  • Try typing any text

Observed behavior:

  • No typed characters appear
  • Keyboard input appears to be ignored
  • Pressing Enter once activates the input field
  • After the first Enter press, typing works normally
  • Mode switching and other keyboard interactions also work normally

Expected behavior:

  • The input field should accept typing immediately after startup without requiring an initial Enter key press.

Additional notes:

  • The cursor is already visible in the input box when the TUI starts, so it appears focused.
  • This behavior occurs in both CMD and PowerShell.

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