Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
type Options ¶
type Options struct {
Backend string
APIKey string
LanListen string
LanBroadcast string
AutoRefresh time.Duration
Debug bool
}
Options configures the TUI.
type ScenesModel ¶
type ScenesModel struct {
// contains filtered or unexported fields
}
ScenesModel renders the scenes modal.
func (*ScenesModel) SetScenes ¶
func (m *ScenesModel) SetScenes(scenes []*models.Scene, locations []*models.Location)
SetScenes updates the scenes list.
func (ScenesModel) Update ¶
func (m ScenesModel) Update(msg tea.Msg) (ScenesModel, tea.Cmd)
Update handles key events.
Click to show internal directories.
Click to hide internal directories.