When I tried bundle ui for the first time, I found myself trying to move around the list with n/p and j/k. yarn upgrade-interactive listens for j/k keypresses to move around the table. Similarly, many CLIs support n/p to move up and down.
Proposed Change
Add listeners for those keys as described in the tty-prompt docs. To be honest, I wasn't totally sure what was going on in this file, so I'm not sure if this is the best place to set up these listeners.
Motivation
When I tried
bundle ui
for the first time, I found myself trying to move around the list with n/p and j/k.yarn upgrade-interactive
listens for j/k keypresses to move around the table. Similarly, many CLIs support n/p to move up and down.Proposed Change
Add listeners for those keys as described in the tty-prompt docs. To be honest, I wasn't totally sure what was going on in this file, so I'm not sure if this is the best place to set up these listeners.