bcuz this https://github.com/yorkie/node/blob/99b478080fe9d2f1f09b83ee923277a176e28660/lib/readline.js#L124, `!terminal` also need to listen `end` event to get the last line!