-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear the questionnaire ? #746
Comments
Do you mean to clean the terminal? |
@SBoudrias yes but not the whole console. just the output. Something like logUpdate module where the output is replaced with another... only in my case it has to be replaced with nothing. |
Any update? |
Jump out of your question, I think Ink is a better tool to implement your idea. |
I've just implemented that by using In my case, I have multiple prompts, and before jumping from one to another, I run a |
Hello, I've added this feature in our new prompts (the |
@SBoudrias, what do you mean exactly? Is there documentation about this somewhere? |
There's types and documentation per prompts; but not a great consolidated doc yet. Here's an example code: import confirm from '@inquirer/confirm';
const answer = await confirm(
{ message: 'Confirm action?' },
{ clearPromptOnDone: true }
); |
how do I clear the entire questionnaire after all of it is asked.
The text was updated successfully, but these errors were encountered: