aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-16 14:04:42 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-16 14:04:42 -0400
commit50828cfb0953a3817bf3b2378f8d47e148f099ef (patch)
tree0575bd8f489891dc270edb61fa69e964bc11df45
parentd12c1b590067292f0673013592602336ef3cfb90 (diff)
downloadpython-termcast-server-50828cfb0953a3817bf3b2378f8d47e148f099ef.tar.gz
python-termcast-server-50828cfb0953a3817bf3b2378f8d47e148f099ef.zip
reset terminal attributes before drawing watcher screen
-rw-r--r--ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh.py b/ssh.py
index ae83103..b07b31c 100644
--- a/ssh.py
+++ b/ssh.py
@@ -83,7 +83,7 @@ class Connection(object):
self.chan.send(data)
def _display_streamer_screen(self, streamers):
- self.chan.send("\033[2J\033[HWelcome to Termcast!")
+ self.chan.send("\033[2J\033[H\033[mWelcome to Termcast!")
self.chan.send(
"\033[3H %-20s %-15s %-15s %-15s" % (
"User", "Terminal size", "Idle time", "Total time"