From 54be0a8c0ef1adcb581296f885055ad392da7901 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Mon, 2 Mar 2026 15:48:29 +0000 Subject: [PATCH] Fix output width at 80 chars and remove trailing spaces --- emu.js | 2 +- styles.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; }