focusable.go 234 B

123456789
  1. package tview
  2. // Focusable provides a method which determines if a primitive has focus.
  3. // Composed primitives may be focused based on the focused state of their
  4. // contained primitives.
  5. type Focusable interface {
  6. HasFocus() bool
  7. }