ipython/ipython — pull request #3219 by siyuz (2013-04-24 22:25:19+00:00)
Title: Workaround so only one CTRL-C is required for a new prompt in --gui=qt

I have a habit of using CTRL-C to clear lines in a terminal (and MATLAB), so it is really annoying to have to press it twice in ipython.

This is a kludgy, posix only workaround, and I only tested it for Python 2.7 on Linux and Windows.