diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -9,4 +9,13 @@ async def on_tab(): print("tab") -asyncio.new_event_loop().run_until_complete(cursed.start(on_str, on_tab)) +def main(): + print("hejhej") + with cursed.Console() as c: + print("hej") + print(c) + asyncio.new_event_loop().run_until_complete(cursed.start(c, on_str, on_tab)) + + +if __name__=="__main__": + main() |
