Skip to content

Windows: arrow keys don't work in vp i package manager selection prompt #1361

@ranjith7022

Description

@ranjith7022

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

  1. Open PowerShell on Windows
  2. Run vp i in a project with no explicit packageManager
  3. 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

  1. Open PowerShell on Windows
  2. Run vp i in a project with no explicit packageManager
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    Priority

    None yet

    Effort

    None yet

    Target date

    None yet

    Start date

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions