diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-30 10:55:37 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-04-30 10:55:37 +0300 |
commit | e48ff5bea4725d39818f24fa76b5ae74971f23a3 (patch) | |
tree | 549b8688ef59f7096a20544cd01ad75ec111c0e4 /vendor/maunium.net/go/tview/primitive.go | |
parent | 576bab9e2e9589942d4cac8742fa1b54e8b237f9 (diff) |
Update dependencies
Diffstat (limited to 'vendor/maunium.net/go/tview/primitive.go')
-rw-r--r-- | vendor/maunium.net/go/tview/primitive.go | 2 |
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)) |