mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-09-02 07:07:26 -04:00
Return errors, rather than printing them
This commit is contained in:
@@ -6,8 +6,6 @@ import (
|
||||
"golang.design/x/clipboard"
|
||||
)
|
||||
|
||||
// TODO Investigate background clipboard clearing and on-app-close clipboard clearing for Android
|
||||
|
||||
// copyString copies a string to the clipboard.
|
||||
func copyString(continuous bool, copySubject string) {
|
||||
clipboard.Write(clipboard.FmtText, []byte(copySubject))
|
||||
|
||||
Reference in New Issue
Block a user