From 851f19ddfba2d1fad8ee08b850ff2db04b3fda10 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Mon, 18 Dec 2023 14:13:06 -0800 Subject: [PATCH] Ignore unprintable characters --- js/canvas1.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/canvas1.ts b/js/canvas1.ts index 3de909e..c30a5aa 100644 --- a/js/canvas1.ts +++ b/js/canvas1.ts @@ -78,7 +78,7 @@ export class TextPage { } this._col = 0; this._row++; - } else { + } else if (val >= 0x20) { this._buffer[this._row][this._col] = val; this._col++; if (this._col > 39) {