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
Here's a feature request: It'd be nice to be able to clear the last prompt from the terminal. I have a script that basically gives the user hundreds of prompts in a row (it's a list of decisions the user has to make for automated coding/data entry). Each decision has a fairly large prompt with 8-10 options. I'd basically like to be able to clear the prompt after it's done and just write a single line for the decision that was made.
This is already fairly easy to do by importing bullet.utils.clearConsoleUp and then calling it with the appropriate number of lines. But it'd be good to add a hook into the actual construction of a given prompt (maybe in the launch() method?) to tell it to do a post-choice cleanup explicitly after the choice is made?
The text was updated successfully, but these errors were encountered:
Bullet is awesome!
Here's a feature request: It'd be nice to be able to clear the last prompt from the terminal. I have a script that basically gives the user hundreds of prompts in a row (it's a list of decisions the user has to make for automated coding/data entry). Each decision has a fairly large prompt with 8-10 options. I'd basically like to be able to clear the prompt after it's done and just write a single line for the decision that was made.
This is already fairly easy to do by importing
bullet.utils.clearConsoleUp
and then calling it with the appropriate number of lines. But it'd be good to add a hook into the actual construction of a given prompt (maybe in thelaunch()
method?) to tell it to do a post-choice cleanup explicitly after the choice is made?The text was updated successfully, but these errors were encountered: