mirror of https://github.com/dirtbags/moth.git
Fixing offsets in hexdump output
This commit is contained in:
parent
dab09db585
commit
eb19015aca
|
@ -235,6 +235,7 @@ class Puzzle:
|
||||||
self.body.write('<pre>')
|
self.body.write('<pre>')
|
||||||
for hexes, chars in out:
|
for hexes, chars in out:
|
||||||
if chars == lastchars:
|
if chars == lastchars:
|
||||||
|
offset += len(chars)
|
||||||
if not elided:
|
if not elided:
|
||||||
self.body.write('*\n')
|
self.body.write('*\n')
|
||||||
elided = True
|
elided = True
|
||||||
|
|
Loading…
Reference in New Issue