focus.go 247 B

123456789
  1. package tea
  2. // FocusMsg represents a terminal focus message.
  3. // This occurs when the terminal gains focus.
  4. type FocusMsg struct{}
  5. // BlurMsg represents a terminal blur message.
  6. // This occurs when the terminal loses focus.
  7. type BlurMsg struct{}