Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

ipython opened this issue May 10, 2010 · 2 comments
Assignees
Milestone

Comments

@ipython
Copy link
Collaborator

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
Copy link
Collaborator Author

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
Copy link
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 as completed 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
Add support for terminating `%cpaste` blocks with `Ctrl-D`.

Closes ipythongh-56.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant