Describe the bug
Describe the bug
On Windows, the interactive package manager prompt shown by vp i does not respond to Up/Down arrow keys.
Because of that, I cannot move off the default option, so vp i ends up selecting pnpm instead of npm.
Reproduction
- Open PowerShell on Windows
- Run
vp i in a project with no explicit packageManager
- When the package manager prompt appears, press Up/Down arrows
Expected behavior
Arrow keys should move the selection so I can choose npm.
Actual behavior
Arrow keys do nothing, and the default option stays selected.
Notes
- Number shortcuts (
1 to 4) work as a workaround
- Reproduced in a fresh project scaffolded from
npx degit ranjith7022/vite-plus-arrow-key-repro-20260411 .
Environment
- OS: Windows
- Shell: PowerShell
- Command:
vp i
Reproduction
https://github.com/ranjith7022/vite-plus-arrow-key-repro-20260411
Steps to reproduce
- Open PowerShell on Windows
- Run
vp i in a project with no explicit packageManager
- When the package manager prompt appears, press Up/Down arrows
System Info
vp env current
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.14.1
Source lts
Tool Paths:
node C:\Users\mailr\.vite-plus\js_runtime\node\24.14.1\node.exe
npm C:\Users\mailr\.vite-plus\js_runtime\node\24.14.1\npm.cmd
npx C:\Users\mailr\.vite-plus\js_runtime\node\24.14.1\npx.cmd
vp --version
VITE+ - The Unified Toolchain for the Web
vp v0.1.16
Local vite-plus:
vite-plus Not found
Tools:
vite Not found
rolldown Not found
vitest Not found
oxfmt Not found
oxlint Not found
oxlint-tsgolint Not found
tsdown Not found
Environment:
Package manager npm v11.11.0
Node.js v24.14.1
Used Package Manager
npm
Logs
Validations
Describe the bug
Describe the bug
On Windows, the interactive package manager prompt shown by
vp idoes not respond to Up/Down arrow keys.Because of that, I cannot move off the default option, so
vp iends up selectingpnpminstead ofnpm.Reproduction
vp iin a project with no explicitpackageManagerExpected behavior
Arrow keys should move the selection so I can choose
npm.Actual behavior
Arrow keys do nothing, and the default option stays selected.
Notes
1to4) work as a workaroundnpx degit ranjith7022/vite-plus-arrow-key-repro-20260411 .Environment
vp iReproduction
https://github.com/ranjith7022/vite-plus-arrow-key-repro-20260411
Steps to reproduce
vp iin a project with no explicitpackageManagerSystem Info
Used Package Manager
npm
Logs
Validations