-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- OS: macOS
- Node Version: v22.17.0
- Package:
@clack/prompts - Package Version: 1.0.0-alpha.1
Describe the bug
Issue no. 1
clack/packages/prompts/src/autocomplete.ts
Lines 276 to 281 in d4de920
| const instructions = [ | |
| `${color.dim('↑/↓')} to navigate`, | |
| `${color.dim('Space:')} select`, | |
| `${color.dim('Enter:')} confirm`, | |
| `${color.dim('Type:')} to search`, | |
| ]; |
The hint says that one can use Space to select. However, when one has typed something to narrow the list, then space gets eaten up by filter's input and is not used to select an item. What I found is using Tab key works on both the cases.
Issue no. 2
clack/packages/prompts/src/autocomplete.ts
Line 318 in d4de920
| return prompt.prompt() as Promise<Value | symbol>; |
An autocompleteMultiselect returns a list of values, while right now we are returning just Value here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done