Fixes #248. Catch empty returns from pgets

git-svn-id: file:///home/svn/framework3/trunk@5860 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-11-09 21:40:03 +00:00
parent ecc853d453
commit 7367c2cbd4
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ module Console::InteractiveChannel
#
def _stream_read_local_write_remote(channel)
data = user_input.gets
return if not data
self.write(data)
end
@ -92,4 +92,4 @@ end
end
end
end
end
end