tty.js icon indicating copy to clipboard operation
tty.js copied to clipboard

include in node-webkit

Open black--cat opened this issue 12 years ago • 1 comments

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?

black--cat avatar Mar 09 '13 21:03 black--cat

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

aeosynth avatar Jun 22 '13 14:06 aeosynth