Nick Heiner

Results 84 comments of Nick Heiner

:+1: This would be very useful to me.

I think it could be a new prompt type, but at least for my use case, I'd also like to add it to multiselect. I'll add tests / docs to...

This PR currently isn't passing on Node 6. (And there are a few cases, most notable lack of `async/await` support, that make supporting Node 6 make the code less readable.)...

@terkelg how does this look to you now?

Ok @terkelg I addressed your comments. It's now passing in Node 6.

@terkelg I'm ready to move forward on this whenever you are. :smile:

> Looks good. I wonder if we should pass some arguments to the handler callback? Like a reference to the prompts so that you can provide some sort of visual...

If a hotkey changes which answers are selected, that's reflected in the rendered output. In this gif, we can see that pressing `a` (which is a "built in hotkey") and...

I understand @octogonz' argument from 2018. In most cases, it's probably best to define an explicit arguments type. However, I would still like ergonomic support for anonymous object argument types...

I would be perfectly happy to put the doc comments inline. That also has the benefit of saving one from repeating the param name. I ended up on this issue...