diff --git a/io/system/system.go b/io/system/system.go index dd8faf40..97f491f8 100644 --- a/io/system/system.go +++ b/io/system/system.go @@ -64,6 +64,12 @@ type DestroyEvent struct { Err error } +// ClipboardEvent is sent once for each request for the +// clipboard content. +type ClipboardEvent struct { + Text string +} + // Insets is the space taken up by // system decoration such as translucent // system bars and software keyboards. @@ -115,7 +121,8 @@ func (l Stage) String() string { } } -func (FrameEvent) ImplementsEvent() {} -func (StageEvent) ImplementsEvent() {} -func (*CommandEvent) ImplementsEvent() {} -func (DestroyEvent) ImplementsEvent() {} +func (FrameEvent) ImplementsEvent() {} +func (StageEvent) ImplementsEvent() {} +func (*CommandEvent) ImplementsEvent() {} +func (DestroyEvent) ImplementsEvent() {} +func (ClipboardEvent) ImplementsEvent() {}