On harvest confirmation message, default to Y when user presses return
parent
bdfb113063
commit
c63a186d32
|
@ -633,7 +633,7 @@ class CursedMenu(object):
|
||||||
if user_in == -1: # Input comes from pipe/file and is closed
|
if user_in == -1: # Input comes from pipe/file and is closed
|
||||||
raise IOError
|
raise IOError
|
||||||
|
|
||||||
if user_in in [ord('Y'), ord('y')]:
|
if user_in in [ord('Y'), ord('y'), 10]:
|
||||||
self.plant.start_over()
|
self.plant.start_over()
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue