code: function exit (stream, isRaw) {
    process.stdout.removeListener('resize', resize);
    process.stdin.removeAllListeners();
    process.stdin.setRawMode(isRaw);
    process.stdin.resume();
    stream.end();
    process.exit();
  }
docs: Exit container