You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, currently there's no support for something like readline.question() from Node. I'll consider implementing something like this in the future though, if it's feasible to do so.
I was about to open the similar feature request, but I found a workaround. The idea is to have terminal commands as the part of the parent component's state, and override it as necessary.
I've looked through the docs and so far as I can tell there isn't something like:
terminal.pushToStdoutWithResponse('Would you like to play a game? [Y/N]: ')
.Is this something that's available that I've just missed or would this need to be a code change to accomodate?
The text was updated successfully, but these errors were encountered: