aboutsummaryrefslogtreecommitdiff
path: root/bin/printer.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/printer.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/printer.py')
-rw-r--r--bin/printer.py2
1 files changed, 1 insertions, 1 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