Fix output width at 80 chars and remove trailing spaces

This commit is contained in:
2026-03-02 15:48:29 +00:00
parent 832ce55108
commit 54be0a8c0e
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>';
else
return ec;
}).join('');
}).join('').trimEnd();
}).join('\n');
this.output.innerHTML = html;
}

View File

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