From a66eac7a79f34e41936f2445602145daf648ffe7 Mon Sep 17 00:00:00 2001 From: xereeto Date: Sat, 9 Mar 2024 18:07:12 +0000 Subject: [PATCH] added 'press any key to exit' --- wordle.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wordle.py b/wordle.py index 97597bb..22175e8 100644 --- a/wordle.py +++ b/wordle.py @@ -232,6 +232,8 @@ def main(): w.updateError() w.updateError("Next WORDLE in: "+str(datetime.timedelta(seconds=(midnight-datetime.datetime.now()).seconds))) time.sleep(2) + w.updateError("Press any key to exit...") + x=getch() return w @@ -256,4 +258,3 @@ finally: put(blocks[letter-1]) print() print("\x1b[?25h") -