aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
)
)