aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-04 00:18:45 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-04 00:18:45 +0100
commita0527773322ef6c8324dc57bfeb33118bd5f62cb (patch)
treed387f026d321bb172f889c30b01331d53cac2f68 /examples
parentm (diff)
downloadxpybar-a0527773322ef6c8324dc57bfeb33118bd5f62cb.tar.gz
xpybar-a0527773322ef6c8324dc57bfeb33118bd5f62cb.tar.bz2
xpybar-a0527773322ef6c8324dc57bfeb33118bd5f62cb.tar.xz
reduce filker
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'examples')
-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