[IPython-dev] Ctrl-C regression with current git master and -q4thread

Fernando Perez fperez.net at gmail.com
Sun Oct 10 20:46:20 EDT 2010


Hi Hans,

On Wed, May 19, 2010 at 5:54 AM, Hans Meine <hans_meine at gmx.net> wrote:
> I am just trying out the current ipython from github, and I noticed that I
> cannot clear the commandline using Ctrl-C anymore when using -q4thread.
> Even worse, the next command that I confirm using [enter] is getting a delayed
> KeyboardInterrupt.

Very late in this thread, but if you still remember ... :)

It may not be ideal, but Ctrl-U does clear the line completely.
That's what I use now.  As Brian said, there's no really easy way,
that we know of, of implementing the behavior we had before re. Ctrl-C
and typing, while having the new design that avoids threads.

Ctrl-U does the job fine (it's the readline 'clear line' keybinding)
and I've become used to it.  If you can propose an improvement within
the current design, we'll be happy to include it though.  We just
haven't found any.

Cheers,

f



More information about the IPython-dev mailing list