Commit 3e778063 authored by Manuel Di Cerbo's avatar Manuel Di Cerbo
Browse files


parent 7c3b46f7
...@@ -179,7 +179,11 @@ def main(): ...@@ -179,7 +179,11 @@ def main():
while(True): while(True):
screen.clear_buffer(screen.COLOUR_WHITE, 0, 0) screen.clear_buffer(screen.COLOUR_WHITE, 0, 0)
while (ev := screen.get_event()) is not None: ev = None
while (True):
ev = screen.get_event()
if(ev is None):
if not type(ev) is KeyboardEvent: if not type(ev) is KeyboardEvent:
continue continue
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment