File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ func StartNew(title string) *Spinner {
59
59
func (s * Spinner ) Start () * Spinner {
60
60
goos := runtime .GOOS
61
61
if goos == "windows" { // Show title without animation on Windows
62
- fmt .Print (s .Title )
62
+ fmt .Println (s .Title )
63
63
return s
64
64
}
65
65
@@ -98,13 +98,13 @@ func (s *Spinner) Stop() {
98
98
// Success gives success feedback for users and stops the spinner execution
99
99
func (s * Spinner ) Success (msg string ) {
100
100
s .Stop ()
101
- fmt .Printf ( " \r %s \n " , msg )
101
+ fmt .Println ( msg )
102
102
}
103
103
104
104
// Error gives error feedback for users and stops the spinner execution
105
105
func (s * Spinner ) Error (err error ) {
106
106
s .Stop ()
107
- fmt .Printf ( " \r %s \n " , err )
107
+ fmt .Println ( err )
108
108
}
109
109
110
110
// animate runs the template animation
You can’t perform that action at this time.
0 commit comments