diff options
-rw-r--r-- | bin/printer.py | 2 | ||||
-rw-r--r-- | bin/world.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/printer.py b/bin/printer.py index 9997a0c..aed52e5 100644 --- a/bin/printer.py +++ b/bin/printer.py @@ -677,7 +677,7 @@ class Printer: # Curses raises an exception each time we print on the screen's # edge. We can just catch and ignore it. try: - self.screen.addch(ypos, xpos, symb, attr) + self.screen.addstr(ypos, xpos, symb, attr) except curses.error: pass diff --git a/bin/world.py b/bin/world.py index 2bfdefa..17b640f 100644 --- a/bin/world.py +++ b/bin/world.py @@ -75,7 +75,7 @@ class World: # Curses raises an exception when printing on the edge of the # screen; we can just ignore it. try: - self.__printer.screen.addch(y, xpad, symb, attr) + self.__printer.screen.addstr(y, xpad, symb, attr) except curses.error: pass |