Made the clipboard API a bit better
This should work better with the X clipboard system better when I eventually make use of that.
This commit is contained in:
@@ -88,7 +88,7 @@ func (backend *Backend) Copy (data tomo.Data) {
|
||||
|
||||
// Paste returns the data currently in the clipboard. This method may
|
||||
// return nil. This method is not yet implemented and will do nothing!
|
||||
func (backend *Backend) Paste () (data tomo.Data) {
|
||||
func (backend *Backend) Paste (accept []tomo.Mime) (data tomo.Data) {
|
||||
backend.assert()
|
||||
// TODO
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user