mirage/mirage-console — pull request #19 by talex5 (2014-06-13 12:36:58+00:00)
Title: Make read block until input is available

On Xen, Console.read was immediately returning the empty string. I'm not sure exactly how this event stuff works, but this patch fixes it for me.