projects
/
snf-image-creator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20e3731
)
Do not hide the cursor when showing a progress bar
author
Nikos Skalkotos
<skalkoto@grnet.gr>
Tue, 23 Oct 2012 14:06:56 +0000
(17:06 +0300)
committer
Nikos 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
patch
|
blob
|
history
diff --git
a/image_creator/output/cli.py
b/image_creator/output/cli.py
index
211eb04
..
2859552
100644
(file)
--- 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 = '#'