fix canvasevent handling. A \n has to be sent after the actual payload.
This commit is contained in:
@ -33,6 +33,7 @@ function Turtle(pipe, canvas) {
|
|||||||
'x': xpos - dx,
|
'x': xpos - dx,
|
||||||
'y': ypos - dy
|
'y': ypos - dy
|
||||||
}));
|
}));
|
||||||
|
pipe.send('\n');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user