From d30358e90a3c309c3dbbb7f34843dcd6728ce59b Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:29:14 +0100 Subject: Changed all 'addch()' commands to 'addstr()' This seems to be the correct way to print individual characters. Salis now keeps correct background colors through SSH. --- bin/world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/world.py') 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 -- cgit v1.2.1