diff options
Diffstat (limited to 'host/server.py')
-rwxr-xr-x | host/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/server.py b/host/server.py index 679b13b..ef4ce32 100755 --- a/host/server.py +++ b/host/server.py @@ -50,7 +50,7 @@ def render_text(text, offset): printlock = threading.Lock() def printframe(fb): - h,w,_ = fb.shape + w,h,_ = fb.shape printlock.acquire() print('\0337\033[H', end='') print('Rendering frame @{}'.format(time())) @@ -60,7 +60,7 @@ def printframe(fb): def scroll(text): """ Returns whether it could scroll all the text uninterrupted """ - log('Scrolling', text) + #log('Scrolling', text) w,h = compute_text_bounds(text) for i in range(-DISPLAY_WIDTH,w+1): fb = render_text(text, i); |