mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-08 19:05:35 +00:00
io/input,io/clipboard: [API] replace WriteOp with command
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+2
-2
@@ -735,8 +735,8 @@ func (w *window) Configure(options []Option) {
|
||||
w.update()
|
||||
}
|
||||
|
||||
func (w *window) WriteClipboard(s string) {
|
||||
w.writeClipboard(s)
|
||||
func (w *window) WriteClipboard(mime string, s []byte) {
|
||||
w.writeClipboard(string(s))
|
||||
}
|
||||
|
||||
func (w *window) writeClipboard(s string) error {
|
||||
|
||||
Reference in New Issue
Block a user