luvit/luvit — pull request #128 by philips (2012-02-10 02:15:12+00:00)
Title: luvit.lua: don't use tty on windows

Windows's TTYs aren't pipes. Copy the logic from nodejs
https://github.com/joyent/node/blob/master/src/node.js#L221-274