We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Terminal
source test file content:
package progress import ( "os" "testing" "time" progressbar "github.com/schollz/progressbar/v3" . "github.com/smartystreets/goconvey/convey" "golang.org/x/term" ) func TestGeneral(t *testing.T) { Convey("progressbar", t, func() { testProgressbar(t) }) } func testProgressbar(t *testing.T) { bar := progressbar.Default(100, "test progressbar") for i := 0; i < 100; i++ { bar.Set(i) time.Sleep(50 * time.Millisecond) } bar.Clear() w, h, err := term.GetSize(int(os.Stdout.Fd())) So(err, ShouldBeNil) t.Logf("Done, terminal size: %d x %d", w, h) }
The text was updated successfully, but these errors were encountered:
me too
Sorry, something went wrong.
Will accept PR to fix this
...Is this bug fixed so far?
Successfully merging a pull request may close this issue.
Terminal
applicationsource test file content:
Screen.Recording.2021-09-02.at.10.35.14.AM.mov
The text was updated successfully, but these errors were encountered: