Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
watch-my-terminal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
init: send normal screen too when on alt
[watch-my-terminal.git]
/
client.coffee
diff --git
a/client.coffee
b/client.coffee
index
6749a60
..
e5615af
100644
(file)
--- a/
client.coffee
+++ b/
client.coffee
@@
-141,12
+141,4
@@
$ ->
socket.on 'init', (v) ->
term = terminal.new(v.width, v.height)
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