Double the screen repaint delay

Greatly improves performance when a lot of output is being generated.
This commit is contained in:
Kovid Goyal 2016-11-19 17:07:13 +05:30
parent d87e4eeb95
commit df4c90d94b

View File

@ -40,7 +40,7 @@ class Boss(Thread):
shutting_down = False
pending_title_change = pending_icon_change = None
pending_color_changes = {}
SCREEN_UPDATE_DELAY = 1 / 100 # seconds
SCREEN_UPDATE_DELAY = 2 / 100 # seconds
def __init__(self, window, window_width, window_height, opts, args):
Thread.__init__(self, name='ChildMonitor')