microsoft / microsoft/aspire

Running `aspire new` and then canceling with CTRL-C makes terminal cursor disappear

Open
#11,686 4 comments 0 reactions 0 assignees View on GitHub
area-cli needs-retriage
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

Running `aspire new` and then canceling with CTRL-C makes the terminal cursor disappear for the remainder of the terminal session.

### Expected Behavior

My terminal is restored to its original state after I press CTRL-C to cancel `aspire new`.

### Steps To Reproduce

1. Run `aspire new` in a terminal.
2. Press CTRL-C when it asks you to "Select a project template:".
3. Observe terminal cursor and prompt behavior.

### Exceptions (if any)

_No response_

### .NET Version info

```console
$ dotnet --list-sdks
9.0.304 [/var/home//.local/share/dnvm/dn/sdk]
9.0.305 [/var/home//.local/share/dnvm/dn/sdk]
10.0.100-rc.1.25451.107 [/var/home//.local/share/dnvm/dn/sdk]

$ aspire --version
9.5.0+6218df0ffff86df912bd2035854c80480476e803
```

### Anything else?

- **OS:** Bazzite DX (Should be the same as Fedora 42)
- **Shell:** GNU bash, version 5.3.3(1)-release (x86_64-pc-linux-gnu)
- **Terminal application:** [ptyxis](https://gitlab.gnome.org/chergert/ptyxis) version 48.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.