tty.js
tty.js copied to clipboard
include in node-webkit
I want to include tty.js into a node-webkit app. Hopefully without much changes. I don't want to use a websocket connection for that. Is this possible? If not, where can I begin to change it?
tty.js passes options to socket.io, which can configure transports. the following is untested, but should work:
~/.tty.js:
{
"io": {
"transports": ["xhr-polling"]
}
}
https://github.com/chjj/tty.js#configuration https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO#server