aboutsummaryrefslogtreecommitdiff
path: root/vendor/maunium.net/go/tview/primitive.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/maunium.net/go/tview/primitive.go')
-rw-r--r--vendor/maunium.net/go/tview/primitive.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/maunium.net/go/tview/primitive.go b/vendor/maunium.net/go/tview/primitive.go
index a59033f..f5034c4 100644
--- a/vendor/maunium.net/go/tview/primitive.go
+++ b/vendor/maunium.net/go/tview/primitive.go
@@ -36,6 +36,8 @@ type Primitive interface {
MouseHandler() func(event *tcell.EventMouse, setFocus func(p Primitive))
+ PasteHandler() func(event *tcell.EventPaste)
+
// Focus is called by the application when the primitive receives focus.
// Implementers may call delegate() to pass the focus on to another primitive.
Focus(delegate func(p Primitive))