diff --git a/vlib/clipboard/clipboard_darwin.c.v b/vlib/clipboard/clipboard_darwin.c.v index d22e479015..8e5e368635 100644 --- a/vlib/clipboard/clipboard_darwin.c.v +++ b/vlib/clipboard/clipboard_darwin.c.v @@ -30,6 +30,7 @@ fn (cb &Clipboard) check_availability() bool { fn (mut cb Clipboard) clear() { cb.foo = 0 + cb.set_text('') #[cb->pb clearContents]; }