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

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

Comments

Projects
None yet
2 participants
@ghost
Collaborator

ghost 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!

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost May 10, 2010

Collaborator

[ 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 :)

Collaborator

ghost 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

This comment has been minimized.

Show comment
Hide comment
@fperez

fperez Mar 23, 2011

Member

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

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 :)

@ghost ghost assigned fperez Apr 10, 2011

djv pushed a commit to djv/ipython that referenced this issue Oct 12, 2011

@fperez fperez closed this in db84fc9 Oct 14, 2011

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

Merge pull request #861 from djv/master
Add support for terminating `%cpaste` blocks with `Ctrl-D`.

Closes gh-56.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment