Do not hide the cursor when showing a progress bar
authorNikos Skalkotos <skalkoto@grnet.gr>
Tue, 23 Oct 2012 14:06:56 +0000 (17:06 +0300)
committerNikos Skalkotos <skalkoto@grnet.gr>
Tue, 23 Oct 2012 14:06:56 +0000 (17:06 +0300)
This is a workaround for a progress bar bug, where the system may
stay with the cursor hidden if finish() is not called.

image_creator/output/cli.py

index 211eb04..2859552 100644 (file)
@@ -102,6 +102,7 @@ class OutputWthProgress(SimpleOutput):
         }
 
         def __init__(self, size, title, bar_type='default'):
+            self.hide_cursor = False
             super(OutputWthProgress._Progress, self).__init__()
             self.title = title
             self.fill = '#'