fossunited / falcon

A service that execute code in any programming language in a sandboxed environment.
MIT License
42 stars 6 forks source link

Move the --DRAW-- hack to the client #6

Closed anandology closed 3 years ago

anandology commented 3 years ago

The canvas demo uses a hack, that prints "--DRAW--" as a prefix to mark that this is not a real print, but a draw command.

It is better to move this hack to server so that the client receives a clean message. It also helps to make the client's interface very clean.