Jeremy Albright

Results 57 comments of Jeremy Albright

IMO, this is important to have. There's many times I want to provide a default answer for the user, but I also want them to be able to just skip...

I think that extends a little past the scope of this PR, but I do have some thoughts on that particular problem. I will open a new issue for discussion...

Made some changes that will help with output wrapping scenarios. One thing I noticed is that `cursor.restore` restores the X position, but not the Y (at least in my terminal)....

Figured out that `cursor.restore` was causing the problem with the "off by one" line count after printing on, or issuing a line feed on the last line of the terminal....

I think I understand what you're saying. Keep a `previousState` text object of the entire prompt; then, when the `render()` method is called, generate a new state in memory. Compare...

I have a pretty good idea how I would accomplish that. Could use something like an sprintf (spool print, in this case) function here; a shared function that abstracts away...

I know of `ink`, but that's about as much as I can say. They use it for the CLI over at Gatsby, so I've encountered it, but haven't really delved...

One other area where this "selective rendering" would be important is during input. If somebody is typing something into a prompt, and it is redrawing on every keystroke (this is...

Github needs a poll feature 😆