felangel / mason

Tools which allow developers to create and consume reusable templates called bricks.

Home Page:https://docs.brickhub.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix: cannot ctrl+C when `chooseOne` menu is shown

bryanoltman opened this issue · comments

Description

When a list of radio buttons is shown with chooseOne, it is not possible to terminate the command using ctrl+C

Steps To Reproduce

  1. Run shorebird preview with more than one app
  2. Type ctrl+C

Expected Behavior

The shorebird command exits and I see my terminal prompt

I can verify it also happens for chooseAny.

Yup this is a known issue and I plan to work on a fix this weekend. Sorry for the inconvenience!

I could publish a fix before then if needed - just let me know!

I could publish a fix before then if needed - just let me know!

If you have time to open a PR feel free, thanks! 🙏