We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80bb36a + 9f5b428 commit b4aa32aCopy full SHA for b4aa32a
1 file changed
internal/output/progress.go
@@ -92,6 +92,14 @@ func (d *Spinner) Stop(msg string) {
92
d.stop <- struct{}{}
93
close(d.stop)
94
95
+ // We're done, so remove the last spinner frame
96
+ if d.out.Config().Interactive {
97
+ nMoved := d.moveCaretBack()
98
+ if nMoved > len(msg) {
99
+ msg += strings.Repeat(" ", nMoved-len(msg)-1)
100
+ }
101
102
+
103
if msg != "" {
104
if !d.out.Config().Interactive {
105
d.out.Fprint(d.out.Config().ErrWriter, " ")
0 commit comments