jline/jline2 — pull request #49 by trptcolin (2012-06-23 23:13:06+00:00)
Title: Distinguish carriage return from newline

This is for issue #48 - found these when reading the man pages for `stty`, and verified that readline itself is forcing this setting off to accommodate this kind of scenario, in `rltty.c`'s `prepare_terminal_settings` function:

/* Make sure we differentiate between CR and NL on input. */
tiop->c_iflag &= ~(ICRNL | INLCR);

So I think it makes sense for jline to do the same thing.