@@ -96,6 +96,7 @@ class CodeBox {
// Reset some field for a clean run
this.box = [];
this.pointer = [0, 0];
+ this.curr_direction = this.directions.EAST;
this.outputDOM.value = "";
const cbRaw = this.codeBoxDOM.value;