correct escape behavior
This commit is contained in:
parent
e83acfd5da
commit
e72308fd97
@ -89,6 +89,9 @@ class Command_prompt(Label):
|
||||
self.insert=False
|
||||
self.run_command()
|
||||
self.set_text("")
|
||||
elif keycode[1]=="escape":
|
||||
self.insert=False
|
||||
self.set_text("")
|
||||
|
||||
# move
|
||||
elif keycode[1]=="left":
|
||||
|
2
main.py
2
main.py
@ -34,6 +34,8 @@ class Jam_app(App):
|
||||
|
||||
# disable red circles on right click
|
||||
Config.set('input', 'mouse', 'mouse,disable_multitouch')
|
||||
# do not exit on escape
|
||||
Config.set('kivy', 'exit_on_escape', 0)
|
||||
|
||||
# run
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
x
Reference in New Issue
Block a user