diff --git a/go.mod b/go.mod index fa336aee..6dce7db8 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/obalunenko/advent-of-code go 1.23 require ( - github.com/briandowns/spinner v1.23.1 + github.com/briandowns/spinner v1.23.2 github.com/manifoldco/promptui v0.9.0 github.com/obalunenko/getenv v1.14.0 github.com/obalunenko/logger v1.2.0 diff --git a/go.sum b/go.sum index c5b566c5..f0c663d8 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/briandowns/spinner v1.23.1 h1:t5fDPmScwUjozhDj4FA46p5acZWIPXYE30qW2Ptu650= -github.com/briandowns/spinner v1.23.1/go.mod h1:LaZeM4wm2Ywy6vO571mvhQNRcWfRUnXOs0RcKV0wYKM= +github.com/briandowns/spinner v1.23.2 h1:Zc6ecUnI+YzLmJniCfDNaMbW0Wid1d5+qcTq4L2FW8w= +github.com/briandowns/spinner v1.23.2/go.mod h1:LaZeM4wm2Ywy6vO571mvhQNRcWfRUnXOs0RcKV0wYKM= github.com/chzyer/logex v1.1.10 h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8= diff --git a/vendor/github.com/briandowns/spinner/spinner.go b/vendor/github.com/briandowns/spinner/spinner.go index c49fffce..8c064080 100644 --- a/vendor/github.com/briandowns/spinner/spinner.go +++ b/vendor/github.com/briandowns/spinner/spinner.go @@ -475,7 +475,7 @@ func (s *Spinner) erase() { // For each additional lines, go up one line and erase it. eraseCodeString.WriteString("\033[F\033[K") } - fmt.Fprintf(s.Writer, eraseCodeString.String()) + fmt.Fprint(s.Writer, eraseCodeString.String()) s.lastOutputPlain = "" } diff --git a/vendor/modules.txt b/vendor/modules.txt index 35697318..071fbcbf 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,4 +1,4 @@ -# github.com/briandowns/spinner v1.23.1 +# github.com/briandowns/spinner v1.23.2 ## explicit; go 1.17 github.com/briandowns/spinner # github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e