Skip to content

Enable interactive input for dotnetup prompts#218

Open
Redth wants to merge 1 commit into
mainfrom
redth-fix-dotnetup-interaction
Open

Enable interactive input for dotnetup prompts#218
Redth wants to merge 1 commit into
mainfrom
redth-fix-dotnetup-interaction

Conversation

@Redth

@Redth Redth commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Why

dotnetup can display a terminal setup menu during SDK installation, but Sherpa's process modal was output-only. The process remained blocked because users could not send arrow keys or Enter to the running command.

What changed

  • Add opt-in standard-input support to process requests and execution services.
  • Forward raw xterm input to the active process so terminal navigation and control sequences remain intact.
  • Enable input for dotnetup SDK installs on Apple pseudo-terminals, including tracked-channel installs.
  • Serialize input, cancellation, and process disposal to avoid stdin races.
  • Keep non-interactive and completed terminals read-only by default.

Validation

  • Targeted DotnetUpServiceTests
  • Mac Catalyst compile
  • Isolated pseudo-terminal stdin smoke test
  • xterm-to-.NET bridge smoke test

Fixes: #203

Forward opt-in xterm input to active process stdin so dotnetup setup menus can accept navigation and confirmation keys.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4ae088bc-2250-4e42-a218-731f5d7d76d3
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.

dotnetup no way to interact

1 participant