antfu-collective / taze

🥦 A modern cli tool that keeps your deps fresh
MIT License
2.66k stars 86 forks source link

Wrong navigation with arrows in interactive mode #132

Closed evermake closed 1 month ago

evermake commented 1 month ago

Describe the bug

I run taze in my Nuxt project in the interactive mode and navigating with arrows between dependencies (up and down), but the pointer of the selected dep is jumping not in the expected order. Here is the demo:

https://github.com/user-attachments/assets/d690409e-78d8-4b63-9d06-047c73e44849

Reproduction

Run taze in interactive mode (taze -wI minor) with some dependencies outdated.

System Info

System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M1
    Memory: 141.55 MB / 16.00 GB
    Shell: 3.7.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 20.13.1 - ~/Library/Caches/fnm_multishells/8351_1722461424558/bin/node
    npm: 10.5.2 - ~/Library/Caches/fnm_multishells/8351_1722461424558/bin/npm
    pnpm: 9.6.0 - ~/Library/Caches/fnm_multishells/8351_1722461424558/bin/pnpm
    bun: 1.1.20 - ~/.bun/bin/bun
  Browsers:
    Safari: 17.5

Used Package Manager

pnpm

Validations

Contributions

antfu commented 1 month ago

Yeah I noticed that as well. Would you like to send a PR to help? Thanks

evermake commented 1 month ago

Could you review: #133?