From 6d8540503e60ee18b22dce58935fec329afa8f2c Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 02:29:14 +0100 Subject: Fixed bug described on issue [#23]. --- bin/printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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: -- cgit v1.2.1