diff --git a/applepy.py b/applepy.py
index <HASH>..<HASH> 100644
--- a/applepy.py
+++ b/applepy.py
@@ -63,7 +63,10 @@ class Memory:
         else:
             attr = curses.A_DIM
         
-        self.win.addch(row, column, c, attr)
+        try:
+            self.win.addch(row, column, c, attr)
+        except curses.error:
+            pass
 
 
 class CPU:
if curses can't write a character to the screen, just skip it; fixes #1