diff options
| author | Agnes Wendt <agnes@wendt.nu> | 2021-03-07 21:42:08 +0100 |
|---|---|---|
| committer | Agnes Wendt <agnes@wendt.nu> | 2021-03-07 21:42:08 +0100 |
| commit | 9ac04b24c14d1c0937a2aee5dac9e489d5ef2803 (patch) | |
| tree | 028c21e5dbab71223986d10daae2a53ebd7648ca /main.py | |
| parent | da0ed1051316a007e9c509eb0a6d56121c5231ea (diff) | |
| download | tg-9ac04b24c14d1c0937a2aee5dac9e489d5ef2803.tar.gz | |
wip display messages
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,10 +11,13 @@ async def on_tab(): def main(): + messages = ["hej", "vad", "är", "klockan"] + tele.messages = messages + tele.redraw = cursed.redraw with tele.client: tele.client.start() with cursed.Console() as c: - tele.client.loop.run_until_complete(cursed.start(c, on_str, on_tab)) + tele.client.loop.run_until_complete(cursed.start(c, on_str, on_tab, messages)) if __name__=="__main__": |
