From 4ee9b846f9aed785b1392ad282cd780fa08edce9 Mon Sep 17 00:00:00 2001 From: Greg Hewgill Date: Sat, 1 Oct 2011 08:17:38 +1300 Subject: [PATCH] initialise display state variables in constructor --- applepy.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applepy.py b/applepy.py index 71e0aef..5bb98bb 100644 --- a/applepy.py +++ b/applepy.py @@ -109,6 +109,10 @@ class Display: 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: