lib/sprout/tasks/fdb_task.rb in sprout-as3-bundle-1.0.23 vs lib/sprout/tasks/fdb_task.rb in sprout-as3-bundle-1.0.24
- old
+ new
@@ -651,10 +651,12 @@
print PROMPT
$stdout.flush
t = Thread.new {
while true do
- msg = user_input.gets.chomp!
+ input = user_input.gets
+ break if input.nil?
+ msg = input.chomp!
@input.puts msg
wait_for_prompt
end
}