Add a magic function to paste contents of clipboard

Bug #337951 reported by Fernando Perez on 2009-03-04
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

It would be very useful to have a magic function that directly inserts the clipboard contents into the read buffer. See this thread on the mailing list for background and comments by Robert on the implementation:

Note: when implementing this, care must be paid to history synchronization issues. Do we want the history to be updated or not? What about the readline buffer itself?

Robert Kern (robert-kern) wrote :

Here's a start:

It works mostly like %cpaste except for the interaction with readline, of course.

Fernando Perez (fdo.perez) wrote :

This was included in the 0.10 release, it's called %paste.

Changed in ipython:
importance: Undecided → Wishlist
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers