From 163811bbc6ad426ad64a1d5ce2314d768479fcfb Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Thu, 26 Feb 2026 18:08:02 +0000 Subject: [PATCH] Fix emulator's submit_line() --- emu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emu.js b/emu.js index 9833078..9f37d41 100644 --- a/emu.js +++ b/emu.js @@ -163,7 +163,7 @@ class Emulator { submit_line() { let line = ''; let cell = this.range.start; - while (cell.x != this.range.end.x && cell.y != this.range.y) { + while (cell.x != this.range.end.x || cell.y != this.range.end.y) { line += this.grid[cell.y][cell.x]; cell = this.next_cell(cell); }