-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- OS: Linux
- Node Version:
22.14.0 - Package:
@clack/prompts - Package Version:
0.11.0
Describe the bug
It's the bug described at #87:
The terminal duplicates options in a select when moving arrows up and down if the window is too small and the lines try to wrap. More of a rendering bug, because if you expand the terminal, it seems to start working normally, but the duplicates stay and aren't selectable.
To Reproduce
https://stackblitz.com/edit/node-u8x3xrsy?file=prompts.js
Note
It's the same reproduction as #87, but with additional options to trigger scrolling.
Steps to reproduce the behavior:
- Press the down arrow key several times, then observe how the options are duplicated.
See also
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Needs triage