ipython/ipython — pull request #1118 by minrk (2011-12-07 21:31:16+00:00)
Title: protect CRLF from carriage-return action

Carriage return action introduced in PR #1089 clears a line in the qtconsole, which means that CRLF line endings would replace whole lines with '\n', thus hiding the output of `ls` and ~all system calls.

This changes the behavior to only act on CR if it is not followed by LF.

Test included.

closes #1111