aboutsummaryrefslogtreecommitdiff
path: root/bin/world.py
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
commitd30358e90a3c309c3dbbb7f34843dcd6728ce59b (patch)
tree688c57025eadeae9bc10966133183c4f3a53c406 /bin/world.py
parent736f86bf68d8e115c46ec30263acec3f3e0af2a0 (diff)
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.
Diffstat (limited to 'bin/world.py')
-rw-r--r--bin/world.py2
1 files changed, 1 insertions, 1 deletions
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