Make reading into the screen read buffer more efficient

This commit is contained in:
Kovid Goyal
2017-09-06 13:28:37 +05:30
parent 234bb07b67
commit 44650c5723
4 changed files with 50 additions and 29 deletions

View File

@@ -60,7 +60,7 @@ def set_boss(m):
def wakeup():
os.write(get_boss.boss.write_wakeup_fd, b'1')
get_boss.boss.child_monitor.wakeup()
is_key_pressed = defaultdict(lambda: False)