diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-04 00:18:45 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-04 00:18:45 +0100 |
commit | a0527773322ef6c8324dc57bfeb33118bd5f62cb (patch) | |
tree | d387f026d321bb172f889c30b01331d53cac2f68 /examples | |
parent | m (diff) | |
download | xpybar-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/moderate | 2 |
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 |