Add a magic function to paste contents of clipboard
Bug #337951 reported by
Fernando Perez
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Released
|
Wishlist
|
Unassigned |
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:
http://
http://
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?
To post a comment you must log in.
Here's a start:
https:/ /code.launchpad .net/~robert- kern/ipython/ clipboard
It works mostly like %cpaste except for the interaction with readline, of course.