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
I am trying to prompt the user for multiple questions using inquirer.List. I am able to select the items but the options wont clear away when asking for the next one.
>>> inquirer.prompt(questions);inquirer.prompt(questions)
[?] What size do you need?: Large
Jumbo
> Large
Standard
Medium
Small
Micro
[?] What size do you need?: Medium
Jumbo
Large
Standard
> Medium
Small
Micro
Is it possible to clear the options like inquirer.js does?
The text was updated successfully, but these errors were encountered:
The idea of this implementation is that we have to know have many lines have been printed, and then we can move the cursor to that line and clear those lines under it. (with the help of blessed.Terminal().move_up() and blessed.Terminal().clear_eol())
And also thanks for the advice from @mauricesvp. But since it will clear the whole history (printed lines) in current terminal, I have to give up on it.
I am trying to prompt the user for multiple questions using
inquirer.List
. I am able to select the items but the options wont clear away when asking for the next one.Is it possible to clear the options like
inquirer.js
does?The text was updated successfully, but these errors were encountered: