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 don't think it is possible with the current API. When the tea.Quit command is handled, the Bubbletea's renderer stops, and restores the terminal to standard output mode. So, you can't replace the line that was already written.
I think the Bubbletea should allow defining the last tea.Quit state, that will be printed just before the exit, and without waiting for the animation loop to draw it.
The additional explicit wait "hack" in the progress bar should be removed. If your UI has a lot of progress bars, this wait will be visible.
client-pkg/pkg/output/tui/progress.go
Lines 188 to 193 in cf1573f
But, I don't see a way, with the current API of bubbles' progress, to achieve it otherwise...
Without the wait, we get UI with progress bars that are never 100% completed. See example: #162 (comment)
Originally posted by @cardil in #162 (comment)
The text was updated successfully, but these errors were encountered: