diff --git a/emu.js b/emu.js index 823cf3c..933e8a8 100644 --- a/emu.js +++ b/emu.js @@ -266,7 +266,7 @@ class Emulator { return '' + ec + ''; else return ec; - }).join(''); + }).join('').trimEnd(); }).join('\n'); this.output.innerHTML = html; } diff --git a/styles.css b/styles.css index 8946c4c..dfc6e36 100644 --- a/styles.css +++ b/styles.css @@ -14,6 +14,7 @@ body { } #output { + width: 80ch; margin: 1.5em auto; white-space: pre; }