--- a/sdlterm/demo.py Sat Jan 05 00:40:27 2013 +0100
+++ b/sdlterm/demo.py Sat Jan 05 12:40:32 2013 +0100
@@ -16,5 +16,7 @@
while True:
event = term.get_next_event()
- break
+ print(event)
+ if event[0] == 'keypress' and event[1] == 'escape':
+ break