Allow ^D (EOF) to terminate the session

Or, at least, to terminate the session without printing an error.
I would move this down to the next line and simply use: `line := strings.TrimSuffix(*line, "\n")`.