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:
2023-01-30 00:54:06 -05:00
parent 44b9a1e717
commit 2c55824920
4 changed files with 13 additions and 19 deletions

View File

@@ -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