Skip to content

Instantly share code, notes, and snippets.

View feiyuw's full-sized avatar

feiyuw feiyuw

View GitHub Profile
@feiyuw
feiyuw / client.js
Created November 2, 2015 02:30 — forked from steinwaywhw/client.js
A minimal term.js server/client demo. To be used with node.js
var client = {};
client.run = function (options) {
options = options || {};
var socket = io.connect(options.remote || "http://localhost:8080");
socket.on('connect', function() {
var term = new Terminal({