From eb19015acafafd4261d02422966b29cdf6d5c563 Mon Sep 17 00:00:00 2001 From: John Donaldson Date: Wed, 10 Jul 2019 23:33:45 +0100 Subject: [PATCH] Fixing offsets in hexdump output --- devel/moth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/devel/moth.py b/devel/moth.py index 6d04aa2..612d371 100644 --- a/devel/moth.py +++ b/devel/moth.py @@ -235,6 +235,7 @@ class Puzzle: self.body.write('
')
         for hexes, chars in out:
             if chars == lastchars:
+                offset += len(chars)
                 if not elided:
                     self.body.write('*\n')
                     elided = True