We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b61761 commit aab9968Copy full SHA for aab9968
src/index.mjs
@@ -897,6 +897,7 @@ class App {
897
898
// fallthrough
899
case "home":
900
+ this.endTapeMove();
901
this.head = 0;
902
903
if (action === "home") {
@@ -1209,7 +1210,9 @@ class App {
1209
1210
case "Delete":
1211
this.headSymbol = this.spec.blank;
1212
this.tapeRow.children.item(headCellIndex).firstChild.innerText = this.spec.blank;
- this.move((ev.key === "Backspace") ? L : R);
1213
+
1214
+ if (ev.key === "Backspace")
1215
+ this.move(L);
1216
break;
1217
case "ArrowLeft":
1218
this.move(L);
@@ -1222,6 +1225,7 @@ class App {
1222
1225
if (this.head === 0)
1223
1226
return;
1224
1227
1228
1229
1230
this.updateTape();
1231
0 commit comments