-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Key registration issue in project selection Interface with changie in yarn environment #582
Comments
This may be related to your terminal/editor more then changie, especially since changie does not directly handle inputs and instead uses bubbletea prompts. A similar situation was reported here #492 and was resolved by simply using the vs-code terminal. I will try it out now to see if I can actually reproduce it myself but just bringing this up in the meantime. |
Hmm, this is definitely repeatable. @TheSpyder was the one who did the node stuff, but it does not seem to be getting my user input. |
For context: Arvin is on my team 😆 If changie is not receiving any inputs from running the I tried for so long to have the real changie binary be what node runs instead of that JS wrapper, which is something I've seen done on other projects, but I couldn't get it working. I guess when I switched to the JS wrapper I didn't test it properly. Let me check. |
Totally my mistake. It was almost a one-line fix 🙃 |
I figured 😏, we should be able to come up with a good solution for your team, just need a little more time for me to understand what should happen. |
Thanks for submitting a bug report, please fill in the following details.
Description
Our project is using yarn as package manager and we installed
changie
with yarn, when trying to use changie such asyarn changie new
, the project selects will not work (arrow keys, space, enter key)Note: running
changie new
without yarn would work as expectedyarn version: 1.22.21
Reproduction Steps
Steps to reproduce the behavior:
yarn changie new
What happened
The selection indicator is not moving, and it seems terminal environments that do not properly interpret these keys input
Expected behavior
Arrow key should go up and down in the selection UI, space key should be able to select the project and enter key should confirm the selection and proceed to the next step.
Additional context
Sample repo here
The text was updated successfully, but these errors were encountered: