aboutsummaryrefslogtreecommitdiff
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
commit6d8540503e60ee18b22dce58935fec329afa8f2c (patch)
tree7d670e4f4a26ca112db6f431968cfb4ac9bbd369
parent63019e90fb385cbccb43b6616215862fe96928fc (diff)
Fixed bug described on issue [#23].
-rw-r--r--bin/printer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/printer.py b/bin/printer.py
index aed52e5..1e3be8f 100644
--- a/bin/printer.py
+++ b/bin/printer.py
@@ -659,7 +659,7 @@ class Printer:
""" Print a sub-set of a process genome. Namely, on of its two memory
blocks.
"""
- while gidx < mbs and xpos < curses.COLS:
+ while gidx < mbs and xpos < self.size[1]:
gaddr = mba + gidx
if gaddr == ip: