Clear status bar on exit

This commit is contained in:
Nonoo 2020-10-29 15:21:46 +01:00
parent df1d5d8303
commit eaa9eaa4b4

View file

@ -213,9 +213,12 @@ func (s *statusLogStruct) stopPeriodicPrint() {
s.stopChan <- true
<-s.stopFinishedChan
fmt.Println()
fmt.Println()
fmt.Println()
if s.isRealtimeInternal() {
s.clearInternal()
fmt.Println()
s.clearInternal()
fmt.Println()
}
}
func (s *statusLogStruct) initIfNeeded() {