diff --git a/lib/progress_bar.rb b/lib/progress_bar.rb index 46a251206..80dd2d307 100644 --- a/lib/progress_bar.rb +++ b/lib/progress_bar.rb @@ -77,9 +77,9 @@ class ProgressBar end def show - return Thread.new do - @progress_bar_showing = true + @progress_bar_showing = true + return Thread.new do print "\e[?25l" # hide cursor to prevent cursor flickering while @progress_bar_showing