Have %cpaste accept also Ctrl-D as a termination marker #56

Closed
ipython opened this Issue May 10, 2010 · 2 comments

Projects

None yet

2 participants

@ipython
ipython commented May 10, 2010

Original Launchpad bug 510686: https://bugs.launchpad.net/ipython/+bug/510686
Reported by: adeodato (Adeodato Simó).

Hello,

I think it would be an usability improvement if %cpaste would also accept Ctrl-D as a termination marker. It is standard speak for "end of stream", and quicker to type when you're pasting with your right hand using the mouse. It should be easily detectable by catching EOFError, I think.

Thanks for considering!

@ipython
ipython commented May 10, 2010

[ LP comment 1 by: Fernando Perez, on 2010-01-21 21:29:22.695824+00:00 ]

100% agreed, this had been in the back of my mind to do for a while.

Thanks a lot for filing the ticket, it's easy to do and I'll take care of it, it annoys me quite a bit too :)

@fperez
Member
fperez commented Mar 23, 2011

dormant for now, as it's not in the critical path. Pull requests always welcome, and we'll work on it at some point :)

@fperez fperez was assigned Apr 10, 2011
@djv djv pushed a commit to djv/ipython that referenced this issue Oct 12, 2011
Daniel Velkov fixing issue #56 609d83e
@fperez fperez closed this in db84fc9 Oct 14, 2011
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
Daniel Velkov fixing issue #56 a8f6c7e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment