Use process.stdin.setRawMode() instead of tty.setRawMode(). Fixes #6.