aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-15 11:41:14 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-15 11:41:14 -0400
commitf5bd7b16d49ab8983f326e4aba1677d1a27fdf44 (patch)
tree6206857b425cd86dfe88daa3686fd31c529f6871
parentc560af035c36fd1d1f867dce87dbba9f6594daef (diff)
downloadpython-termcast-server-f5bd7b16d49ab8983f326e4aba1677d1a27fdf44.tar.gz
python-termcast-server-f5bd7b16d49ab8983f326e4aba1677d1a27fdf44.zip
a few ui tweaks in the watcher menu
-rw-r--r--ssh.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh.py b/ssh.py
index 92a5cb7..0e9bda4 100644
--- a/ssh.py
+++ b/ssh.py
@@ -44,7 +44,7 @@ class Connection(object):
self.chan.close()
def select_stream(self):
- self.chan.send("\033[2J\033[HTermcast")
+ self.chan.send("\033[2J\033[HWelcome to Termcast!")
row = 3
key_code = ord('a')
keymap = {}
@@ -62,6 +62,7 @@ class Connection(object):
self.chan.send("\033[2J\033[H")
return keymap[c]
elif c == 'q':
+ self.chan.send("\r\n")
return None
else:
return self.select_stream()