aboutsummaryrefslogtreecommitdiffstats
path: root/examples/moderate
diff options
context:
space:
mode:
Diffstat (limited to 'examples/moderate')
-rw-r--r--examples/moderate2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/moderate b/examples/moderate
index 3c14fe3..d47c704 100644
--- a/examples/moderate
+++ b/examples/moderate
@@ -232,8 +232,8 @@ semaphore = threading.Semaphore()
def redraw():
if semaphore.acquire(blocking = False):
values = pattern % tuple([f() for f in functions])
- bar.clear()
#print(values.replace('\0', ' ' * 8))
+ bar.partial_clear(0, bar.width, 10, 0, 2, values)
bar.draw_coloured_splitted_text(0, bar.width, 10, 0, 2, values)
semaphore.release()
return True