Fix padding on last line of hex dump
This commit is contained in:
parent
13c7749c4b
commit
68a0c578d1
@ -80,7 +80,7 @@ const hexDump = computed(() => {
|
|||||||
if (repeat) {
|
if (repeat) {
|
||||||
lines.push('*'.padEnd(80, ' '))
|
lines.push('*'.padEnd(80, ' '))
|
||||||
}
|
}
|
||||||
lines.push(offset.toString(16).padStart(8, '0').padEnd(80, ' '))
|
lines.push(offset.toString(16).padStart(8, '0').padEnd(78, ' '))
|
||||||
return lines.join('\n')
|
return lines.join('\n')
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user