jline/jline2 — comment on commit 1a547e21fe641ef39fad4e408fdbd10568f7f919
File: src/main/java/jline/Terminal.java line 48
By huynhjl:

Trying to recollect what went on back then when I worked on this. It's been a while. I think I went through multiple revisions, some of them did not add the newline, but still needed to know if the terminal had that behavior where the newline is not added. Ultimately I think I settled back into adding the newline. So that's why the change was made. I think I should indeed revert it to newlineAtWrapNeeded. Do you want me to submit another pull request fixing this and the addressing your other comments?