From: Nikos Skalkotos Date: Tue, 23 Oct 2012 14:06:56 +0000 (+0300) Subject: Do not hide the cursor when showing a progress bar X-Git-Tag: v0.1~5 X-Git-Url: https://code.grnet.gr/git/snf-image-creator/commitdiff_plain/b87b7a1470a84c83c9053a5716a1d08bbbbe3274?ds=sidebyside Do not hide the cursor when showing a progress bar This is a workaround for a progress bar bug, where the system may stay with the cursor hidden if finish() is not called. --- diff --git a/image_creator/output/cli.py b/image_creator/output/cli.py index 211eb04..2859552 100644 --- a/image_creator/output/cli.py +++ b/image_creator/output/cli.py @@ -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 = '#'