Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose LastOutput to enable scrolling output
This allows printing output above the spinner. In our use-case, we have logs streaming above the spinner using: `fmt.Fprintf(wtr, "\r%s\n")` By exposing LastOutput, we can immediately print the spinner again. Without this field, flashing occurs due to the spinner delay.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters