aboutsummaryrefslogtreecommitdiffstats
path: root/termcast_server/ssh.py
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-06 15:49:58 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-06 15:49:58 -0400
commitadbfe49125bd21c25551e3d3dfd5c7bd311ca82f (patch)
tree790a69750fb1bed710223dfe81ea62604bf9e647 /termcast_server/ssh.py
parent3c51db7d3a67d65aa3585780d395377310401bfe (diff)
downloadpython-termcast-server-adbfe49125bd21c25551e3d3dfd5c7bd311ca82f.tar.gz
python-termcast-server-adbfe49125bd21c25551e3d3dfd5c7bd311ca82f.zip
try to send updates rather than the full screen on every frame
this is not a very intelligent method at the moment, but it should (probably?) be an improvement over the current method. it probably fails pretty miserably on scrolling though - need to figure out a better idea for that.
Diffstat (limited to 'termcast_server/ssh.py')
-rw-r--r--termcast_server/ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/termcast_server/ssh.py b/termcast_server/ssh.py
index d828fca..360c3f7 100644
--- a/termcast_server/ssh.py
+++ b/termcast_server/ssh.py
@@ -106,7 +106,7 @@ class Connection(object):
else:
return self.select_stream()
- def msg_new_data(self, connection_id, prev_buf, data, screen):
+ def msg_new_data(self, connection_id, prev_buf, data, screen, updates):
if self.watching_id != connection_id:
return