Get rid of the double newline after entering a container

feature/node-rewrite
Sven Slootweg 12 years ago
parent b2b439c194
commit a3d18f2ea1

@ -17,7 +17,7 @@ def posix_shell(chan, ctid):
tty.setcbreak(sys.stdin.fileno())
chan.settimeout(0.0)
chan.send('%s\r\n' % ctid)
chan.send('%s\n' % ctid)
while True:
r, w, e = select.select([chan, sys.stdin], [], [])

Loading…
Cancel
Save