mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +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
@@ -1033,8 +1033,8 @@ func (w *window) ReadClipboard() {
|
||||
}()
|
||||
}
|
||||
|
||||
func (w *window) WriteClipboard(s string) {
|
||||
w.disp.writeClipboard([]byte(s))
|
||||
func (w *window) WriteClipboard(mime string, s []byte) {
|
||||
w.disp.writeClipboard(s)
|
||||
}
|
||||
|
||||
func (w *window) Configure(options []Option) {
|
||||
|
||||
Reference in New Issue
Block a user