diff options
| author | Agnes <agnwe839@student.liu.se> | 2021-03-06 22:12:01 +0100 |
|---|---|---|
| committer | Agnes <agnwe839@student.liu.se> | 2021-03-06 22:12:01 +0100 |
| commit | 9a742a6bcbc4df9af0ed576fc2b457f58fd5e590 (patch) | |
| tree | 27a693f2b6a58e9c320148a0144ecf592d1bca66 /main.py | |
| parent | 31dd18fd973947adf21eb129955e33599b6617c4 (diff) | |
| download | tg-9a742a6bcbc4df9af0ed576fc2b457f58fd5e590.tar.gz | |
wip
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() |
