added 'press any key to exit'

This commit is contained in:
xereeto 2024-03-09 18:07:12 +00:00
parent d37f0c4a2c
commit a66eac7a79
1 changed files with 2 additions and 1 deletions

View File

@ -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")