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
Is your feature request related to a problem? Please describe.
The console app that I'm building is interactive, meaning that options appear/disappear as needed. The trouble with TextPrompt is that the line that it occupies remains on the console after entering text and pressing enter.
Describe the solution you'd like
I would like for TextPrompt to disappear after text is entered. This could either be by passing an additional parameter or by calling a method that clears the last prompt.
Describe alternatives you've considered
The only solution to my problem was to clear the console entirely (AnsiConsole.Clear()), and re-initialize the layout.
Additional context
Please see the example below. I'm looking for a way to have the "Please provide your ChatGPT API key? ***************" text to disappear after the key has been entered.
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered:
Currently this isn't supported, but we could add it. I personally have no time to add this feature now, but if you would like to give it a try, a PR is always appreciated.
Is your feature request related to a problem? Please describe.
The console app that I'm building is interactive, meaning that options appear/disappear as needed. The trouble with TextPrompt is that the line that it occupies remains on the console after entering text and pressing enter.
Describe the solution you'd like
I would like for TextPrompt to disappear after text is entered. This could either be by passing an additional parameter or by calling a method that clears the last prompt.
Describe alternatives you've considered
The only solution to my problem was to clear the console entirely (
AnsiConsole.Clear()
), and re-initialize the layout.Additional context
Please see the example below. I'm looking for a way to have the "Please provide your ChatGPT API key? ***************" text to disappear after the key has been entered.
Please upvote 👍 this issue if you are interested in it.
The text was updated successfully, but these errors were encountered: