Fix output width at 80 chars and remove trailing spaces

This commit is contained in:
2026-03-02 15:48:29 +00:00
parent e8138414c0
commit c1a3e86222
2 changed files with 2 additions and 1 deletions

2
emu.js
View File

@@ -266,7 +266,7 @@ class Emulator {
return '<span id="cursor">' + ec + '</span>'; return '<span id="cursor">' + ec + '</span>';
else else
return ec; return ec;
}).join(''); }).join('').trimEnd();
}).join('\n'); }).join('\n');
this.output.innerHTML = html; this.output.innerHTML = html;
} }

View File

@@ -14,6 +14,7 @@ body {
} }
#output { #output {
width: 80ch;
margin: 1.5em auto; margin: 1.5em auto;
white-space: pre; white-space: pre;
} }