Skip to content
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

Expose LastOutput to enable scrolling output #135

Merged
merged 1 commit into from Apr 22, 2022

Commits on Mar 26, 2022

  1. 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.
    kylecarbs committed Mar 26, 2022
    Copy the full SHA
    c2ac932 View commit details
    Browse the repository at this point in the history