added 'press any key to exit'
This commit is contained in:
parent
d37f0c4a2c
commit
a66eac7a79
|
@ -232,6 +232,8 @@ def main():
|
||||||
w.updateError()
|
w.updateError()
|
||||||
w.updateError("Next WORDLE in: "+str(datetime.timedelta(seconds=(midnight-datetime.datetime.now()).seconds)))
|
w.updateError("Next WORDLE in: "+str(datetime.timedelta(seconds=(midnight-datetime.datetime.now()).seconds)))
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
w.updateError("Press any key to exit...")
|
||||||
|
x=getch()
|
||||||
return w
|
return w
|
||||||
|
|
||||||
|
|
||||||
|
@ -256,4 +258,3 @@ finally:
|
||||||
put(blocks[letter-1])
|
put(blocks[letter-1])
|
||||||
print()
|
print()
|
||||||
print("\x1b[?25h")
|
print("\x1b[?25h")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue