JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
esc_* support, implement esc_M
[watch-my-terminal.git] / client.coffee
index 14e5a6f..6749a60 100644 (file)
@@ -58,7 +58,7 @@ $ ->
        $body = $('body')
        $body.css backgroundColor: "##{palette[0]}", color: "##{palette[7]}"
 
-       socket = io.connect('http://localhost')
+       socket = io.connect('/')
 
        color_to_css = (i) ->
                # handle inverse bit
@@ -147,4 +147,6 @@ $ ->
                term.text = v.text
                term.attributes = v.attributes
                term.cursor_visible = v.cursor_visible
+               term.scroll_top = v.scroll_top
+               term.scroll_bottom = v.scroll_bottom
                redraw()