Vue-cli: Can't use arrow keys to select options in Git Bash when running `vue create my-project`

Created on 8 Aug 2018  路  6Comments  路  Source: vuejs/vue-cli

Version

3.0.0-rc.11

Node and OS info

Node 8.11.2 / npm 5.6.0 / Windows 10

Steps to reproduce

In Git Bash:

$ vue create my-project

This produces the following output:

? Please pick a preset: (Use arrow keys)
> default (babel, eslint)
  Manually select features

Using the arrow keys does not move the angle bracket selector, but just moves the cursor up and down, which can be moved anywhere on the screen. Pressing down once does result in selecting "Manually select features" but without visual feedback.

What is expected?

Angle bracket selector should move up and down with arrow keys.

What is actually happening?

Angle bracket selector does not move. Cursor moves but is free floating and there is no visual feedback to show you the current selection.

Most helpful comment

The default Git Bash is not an interactive terminal. You need to use something that is actually interactive or use winpty vue.cmd create hello-world

All 6 comments

The default Git Bash is not an interactive terminal. You need to use something that is actually interactive or use winpty vue.cmd create hello-world

You are God sent thank you

Thank you

This console emulator will have arrows working properly
https://cmder.net/

Windows PowerShell also works.

Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jgribonvald picture jgribonvald  路  3Comments

Gonzalo2683 picture Gonzalo2683  路  3Comments

brandon93s picture brandon93s  路  3Comments

DrSensor picture DrSensor  路  3Comments

BusyHe picture BusyHe  路  3Comments