-
Notifications
You must be signed in to change notification settings - Fork 813
Description
REGRESSION INFO: Worked in: Aspire CLI 13.0.
INSTALL STEPS
- OS: Windows 11 x64 25h2, Windows PowerShell 5.1 (Run as Administrator)

- Install SDK version: 10.0.101
- Install Aspire CLI version: 13.1.0
REPRO STEPS
- Open Windows PowerShell as Administrator
- Run
aspire new - Observe the interactive template selection prompt
- Press Up/Down arrow keys to move the selection
- Press Enter repeatedly to continue through the flow
- Run: 'aspire run' on the generated project
ACTUAL
When running aspire new in PowerShell on Windows:
-
The template selection prompt ("Select a template") is rendered twice.
-
ANSI escape sequences (e.g. [94m, [0m, [90m]) are printed as raw text instead of being interpreted by the terminal.
Arrow keys do not work: Pressing Up or Down does not move the selection. Instead, it triggers another full re‑print of the prompt and list, making template selection impossible.
Enter advances the flow with defaults: If the user keeps pressing Enter, the CLI continues to subsequent steps using default choices, and eventually completes project creation.
During aspire new and aspire run, progress output is repeatedly printed, resulting in long and duplicated console output.
Additional Information
This issue also reproduces with non-interactive usage (e.g., aspire new --template <template>)
This issue does not reproduce when running the same command in Windows PowerShell without Administrator privileges.

This does not reproduce when running the same command in cmd.exe.

EXPECTED
- The interactive template selection prompt should be rendered once, without duplicated blocks.
- ANSI escape sequences should be interpreted by the terminal, not printed as raw text.
- Up / Down arrow keys should correctly move the selection.
- During project creation and execution, progress output should be concise and should not be repeatedly printed as long duplicated content.
