Added in pausing. Tested with "require('tty').setRawMode(true)" not "process.stdin.setRawMode(true)"