Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/graphics/lines
diff options
context:
space:
mode:
Diffstat (limited to 'data/graphics/lines')
-rw-r--r--data/graphics/lines9
1 files changed, 2 insertions, 7 deletions
diff --git a/data/graphics/lines b/data/graphics/lines
index 1885d61..682ab37 100644
--- a/data/graphics/lines
+++ b/data/graphics/lines
@@ -1,8 +1,4 @@
-# lines: make lots of lines on the screen, just for fun!
-# use the escape key to exit
-#
-# on the XO, the escape key is the top lefthand key,
-# circle with an x in it.
+# lines: make lots of lines on the screen
import sys,pygame
from pygame.locals import *
@@ -43,8 +39,7 @@ while 1:
sys.exit()
elif event.type == KEYDOWN:
- if event.key == K_ESCAPE:
- sys.exit()
+ sys.exit()
# draw the line using the current values and width=3
pygame.draw.line(screen, color, start, end, 3)