make sure telnet sessions use crlf for write() as well as put()

git-svn-id: file:///home/svn/framework3/trunk@12494 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-05-01 23:56:57 +00:00
parent 352fc92539
commit 178ae10e22
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@ module Auxiliary::CommandShell
return super if not str
super(str.strip + "\r\n")
end
def write(str)
return super if not str
super(str.strip + "\r\n")
end
end