Add tabs to select #483
Labels
No labels
breaking change
duplicate
good first issue
help wanted
invalid
question
scope: card
scope: docs
scope: game
scope: registry
scope: script
scope: tool
scope: universe
tracker
type: bug
type: card request
type: documentation
type: enhancement
type: improvement
type: parity
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LunarTides/Hearthstone.js#483
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add tabs the user can switch between in select. This can be used in e.g the gameloop prompt with one tab for cards and another for commands.
Switch between tabs using the left and right arrow keys. Use tab and shift+tab as an alternative.
This will require reimplementing select from Inquirer.js like I did for input. Make escape key select the back button automatically while you’re at it.
Change parameter in
createUILoopfrom() => []to{ type: "tab" | …, generator: () => [] }[]