-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Arrows are not working in cmd? #844
Comments
This is happening for me as well. (in my case powershell) |
@ResourceHog @ouahibAbdou how are you running your app?
|
That's exactly how aframe-typescript-toolkit runs. equivalent script in question: "npm run cli" is what I use but it's just an alias for "node cli.js" Package file: |
Nodemon has this problem. Use node instead of nodemon. |
I can confirm that this is not an issue with inquirer itself. It's an issue with nodemon. Run the app using node instead
|
This is definitely a problem I can reproduce with I have two modules:
With this setup, arrow key doesn't work on rawlist. However, if I require |
it's actually not a bug in either inquirer or nodemon, pass stdin to nodemon with -I flag. See: |
For anyone looking for the nodemon configuration : |
And for those who are NOT using nodemon, what's fix? It was working normally...I updated to node 20+ and updated the dependencies and now arrows won't navigate. The way I am using it (and haven't changed a line) is this: const inquirer = (await import('inquirer')).default;
inquirer
.prompt([])
.then(...); I am just running Interestingly enough...if I use |
Oh yeah, the |
No description provided.
The text was updated successfully, but these errors were encountered: