aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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: