sdlterm/demo.py
changeset 72 6e0656600754
parent 71 cfd3445107b4
child 73 85a282b5e4fc
--- a/sdlterm/demo.py	Wed Jan 30 00:38:48 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-
-from sdlterm import SDLTerminal
-
-if __name__ == '__main__':
-    term = SDLTerminal()
-    term.resize(800, 600)
-    term.select_font(b"font/DejaVuSansMono.ttf", b"font/DejaVuSansMono-Bold.ttf", 12)
-    term.erase()
-    term.putch(5, 5, 'W')
-    term.commit()
-
-    while True:
-        event = term.wait_event()
-        print(event)
-        if event[0] == 'keypress' and event[1] == 'escape':
-            break
-