From a0527773322ef6c8324dc57bfeb33118bd5f62cb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 4 Mar 2014 00:18:45 +0100 Subject: reduce filker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- examples/moderate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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 -- cgit v1.2.3-70-g09d2