Permalink
Browse files

initialise display state variables in constructor

  • Loading branch information...
1 parent c9ecb5f commit 4ee9b846f9aed785b1392ad282cd780fa08edce9 @ghewgill ghewgill committed Sep 30, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 applepy.py
View
4 applepy.py
@@ -109,6 +109,10 @@ def __init__(self):
self.flash_time = time.time()
self.flash_on = False
self.flash_chars = [[0] * 0x400] * 2
+
+ self.page = 1
+ self.text = True
+ self.colour = False
self.chargen = []
for c in self.characters:

0 comments on commit 4ee9b84

Please sign in to comment.