Skip to content

feat(tui): handle native Windows console events#54

Open
Mineru98 wants to merge 1 commit into
Q00:release/bootstrapfrom
Mineru98:feat/windows-tui-helper-events
Open

feat(tui): handle native Windows console events#54
Mineru98 wants to merge 1 commit into
Q00:release/bootstrapfrom
Mineru98:feat/windows-tui-helper-events

Conversation

@Mineru98

@Mineru98 Mineru98 commented Jul 7, 2026

Copy link
Copy Markdown

Problem

The Windows TUI helper needs to understand native console input directly so keyboard, mouse, resize, login, and helper lifecycle behavior can work predictably on Windows terminals.

Proposed change

  • Add a Windows helper entrypoint and packaging scripts.
  • Translate native Windows console records into the same event stream the TUI already consumes.
  • Keep helper discovery, login input, and TUI driver sessions aligned with the Windows helper.

Acceptance criteria

  • Windows console key, mouse, and resize events are converted into TUI events.
  • The helper can be packaged and discovered on Windows.
  • Existing IPC and TUI driver behavior continues to pass tests.

Verification

  • git diff --check
  • mix format --check-formatted on changed Elixir files
  • cargo fmt --manifest-path rust/ourocode_ipc/Cargo.toml --check
  • cargo test --manifest-path rust/ourocode_ipc/Cargo.toml -> 34 Rust tests passed across lib/bin/doc-test targets
  • mix test test/ourocode/ipc/helper_port_test.exs test/ourocode/ipc/rpc_test.exs test/ourocode/runtime/mcp_daemon/process_test.exs test/ourocode/runtime/mcp_daemon_test.exs test/ourocode/runtime/stream_supervisor_test.exs test/ourocode/terminal/tty_driver_test.exs test/ourocode/terminal/tui_driver_session_test.exs test/ourocode/terminal/tui_input_loop_test.exs test/ourocode/terminal/tui_login_test.exs -> 89 passed

Closes #49
Refs #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the Windows TUI helper handle native console events

1 participant