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

Bug #510686 reported by Dato Simó
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Triaged
Medium
Fernando Perez

Bug Description

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!

Revision history for this message
Fernando Perez (fdo.perez) wrote :

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

Changed in ipython:
status: New → Triaged
assignee: nobody → Fernando Perez (fdo.perez)
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.