aboutsummaryrefslogtreecommitdiff
path: root/vendor/maunium.net/go/tview/focusable.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/maunium.net/go/tview/focusable.go')
-rw-r--r--vendor/maunium.net/go/tview/focusable.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/maunium.net/go/tview/focusable.go b/vendor/maunium.net/go/tview/focusable.go
new file mode 100644
index 0000000..99fdaaf
--- /dev/null
+++ b/vendor/maunium.net/go/tview/focusable.go
@@ -0,0 +1,8 @@
+package tview
+
+// Focusable provides a method which determines if a primitive has focus.
+// Composed primitives may be focused based on the focused state of their
+// contained primitives.
+type Focusable interface {
+ HasFocus() bool
+}