lumo icon indicating copy to clipboard operation
lumo copied to clipboard

Capture js/console.log output and send it to the open socket

Open arichiardi opened this issue 8 years ago • 3 comments

Hi Antonio,

I was thinking that it might be a good option to provide a way for tunneling the *out* stream (or more correctly *print-fn*) back to the socket opened channel.

At the moment it is printed to the REPL stdout, which might be confusing. Just a custom *print-fn* function would be good, so that one could use it in, for instance, the accept function to the socket, or just require it when initializing.

Thoughts?

arichiardi avatar Sep 29 '17 22:09 arichiardi

We already do this

anmonteiro avatar Sep 29 '17 23:09 anmonteiro

Ok so this might be a bug report, I'll dig more.

arichiardi avatar Sep 30 '17 00:09 arichiardi

Ok this will change, only js/console.log does not work as expected.

arichiardi avatar Sep 30 '17 00:09 arichiardi