aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-17 18:01:34 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-17 18:01:34 -0400
commita42acf179534f553482802719a64342b0196b084 (patch)
tree055797dcb07316f96cd684e864fd03a7ac5b9965
parent94d22e8b687d1f3896ee93d003331993a116db1b (diff)
downloadpython-termcast-server-a42acf179534f553482802719a64342b0196b084.tar.gz
python-termcast-server-a42acf179534f553482802719a64342b0196b084.zip
disable mouse tracking in the viewing menu
-rw-r--r--ssh.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh.py b/ssh.py
index 08a5bfb..56074fa 100644
--- a/ssh.py
+++ b/ssh.py
@@ -61,7 +61,10 @@ class Connection(object):
"viewer_disconnect", self.watching_id
)
self.chan.send(
- "\033[1;%d;1;%dr\033[m\033[H\033[2J" % (
+ ("\033[1;%d;1;%dr"
+ + "\033[m"
+ + "\033[?9l\033[?1000l"
+ + "\033[H\033[2J") % (
self.server.rows, self.server.cols
)
)