Fix padding on last line of hex dump

This commit is contained in:
Jordan Goulder 2025-01-24 22:54:53 -05:00
parent 13c7749c4b
commit 68a0c578d1

View File

@ -80,7 +80,7 @@ const hexDump = computed(() => {
if (repeat) {
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')
})
</script>