aboutsummaryrefslogtreecommitdiff
path: root/vendor/maunium.net/go/tview/focusable.go
blob: 99fdaaf4eff1b7a0b085fd33dc58306198b6af33 (plain)
1
2
3
4
5
6
7
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
}