JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
display cursor, handle show/hide sequences
[watch-my-terminal.git] / server.coffee
index d66b6cd..7adfc69 100644 (file)
@@ -49,7 +49,7 @@ io.sockets.on 'connection', (socket) ->
                                sockets.splice i, 1
                                return
 
-       socket.emit 'init', width: term.width, height: term.height, x: term.x, y: term.y, a: term.a, text: term.text, attributes: term.attributes
+       socket.emit 'init', width: term.width, height: term.height, x: term.x, y: term.y, a: term.a, text: term.text, attributes: term.attributes, cursor_visible: term.cursor_visible
 
 process.stdin.resume()
 process.stdin.setEncoding 'utf8'