From adbfe49125bd21c25551e3d3dfd5c7bd311ca82f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 6 Oct 2014 15:49:58 -0400 Subject: 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. --- termcast_server/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'termcast_server/ssh.py') 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 -- cgit v1.2.3-54-g00ecf