cmds.go 260 B

123456789
  1. package tui
  2. // A simple boolean flag sent when the program is ready to poll addresses
  3. type pollMsg bool
  4. // / A simple error message binding to conform to type [tea.Cmd]
  5. type errMsg struct{ err error }
  6. func (e errMsg) Error() string { return e.err.Error() }