Commits

Francis Irving committed dca1d31

Yay! Found the missing flush that stopped Ruby displaying print messages mid working.

  • Participants
  • Parent commits 59e7c7d

Comments (0)

Files changed (1)

File uml/controller/exec.rb

       if @text != ''
           message = { 'message_type' => 'console', 'content' => @text }
           @fd.write(JSON.generate(message) + "\n")
+          @fd.flush
           @text = ''
       end
     end