Skip to content

Unicode SendInput interactive harness accepts events but terminal receives none #2

Description

@coneilen

Bug

The interactive Unicode SendInput path accepts all injected events but the terminal never receives or echoes them on the current Windows runner.

Reproduction

pwsh -NoProfile -ExecutionPolicy Bypass -File .\test\windows\interactive-win11-accessibility.ps1 -Rebuild -ResetState -TimeoutSeconds 120 -IdleSoakSeconds 600

Observed on both the GraphCode host-integration tip and unchanged Winghostty baseline dad5599c:

  • 44/44 Unicode SendInput events accepted
  • repeated UIA reads remain at C:\Users>
  • no command echo

Control:

  • interactive-win11-key-input.ps1 -Key unicode-bmp also times out
  • message-mode -Key a passes

The accessibility harness/shared library are byte-identical between baseline and integration.

Expected

The Unicode key-input sentinel reaches the terminal or fails during a runner/foreground-desktop preflight with a specific diagnostic.

Suggested fix

Add a Unicode key-input preflight and validate the runner foreground/interactive desktop. If Unicode SendInput is unavailable, use a setup-only fallback transport rather than timing out in the accessibility scenario.

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