Commit 7a19511e authored by Mark Tearle's avatar Mark Tearle

Change quit to Control-Q

parent a9edae46
...@@ -55,7 +55,7 @@ class VirtualSnack(npyscreen.Form): ...@@ -55,7 +55,7 @@ class VirtualSnack(npyscreen.Form):
self.date_widget = self.add(npyscreen.FixedText, value=datetime.now().ctime(), editable=False) self.date_widget = self.add(npyscreen.FixedText, value=datetime.now().ctime(), editable=False)
self.date_widget.value = "Hello" self.date_widget.value = "Hello"
self.add_handlers({"^T": self.exit_application}) self.add_handlers({"^Q": self.exit_application})
self.sentfield = self.add(npyscreen.TitleText, name = "Sent:", value="", editable=False ) self.sentfield = self.add(npyscreen.TitleText, name = "Sent:", value="", editable=False )
self.receivedfield = self.add(npyscreen.TitleText, name = "Received:", value="", editable=False ) self.receivedfield = self.add(npyscreen.TitleText, name = "Received:", value="", editable=False )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment