X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=client.coffee;h=e5615afd6781cec5034ac582d7dc3b53cce78cc5;hb=a5f32e3687419a20da142d86f1d4e4f44b60cb52;hp=6749a602beb28792dfe5315beb2b775b850c3f44;hpb=b02630f149b0cc5fa9257504a4f4c146af2e0750;p=watch-my-terminal.git diff --git a/client.coffee b/client.coffee index 6749a60..e5615af 100644 --- a/client.coffee +++ b/client.coffee @@ -141,12 +141,4 @@ $ -> socket.on 'init', (v) -> term = terminal.new(v.width, v.height) - term.x = v.x - term.y = v.y - term.a = v.a - 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() + update v.text