Documentation
¶
Index ¶
- type ErrorMsg
- type FrameTickMsg
- type Model
- func (m Model) AnimateFrame() tea.Cmd
- func (m Model) DrawPrecipitation(display [][]string, data [][]int, rw, rh int)
- func (m Model) Init() tea.Cmd
- func (m Model) ResetToInput() Model
- func (m Model) ScheduleRefresh() tea.Cmd
- func (m Model) TrackProgress() tea.Cmd
- func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model) View() string
- type ProgressMsg
- type RefreshTickMsg
- type State
- type TickMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrameTickMsg ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the application state
func (Model) DrawPrecipitation ¶
func (Model) ScheduleRefresh ¶
func (Model) TrackProgress ¶
type ProgressMsg ¶
type ProgressMsg float64
type RefreshTickMsg ¶
Click to show internal directories.
Click to hide internal directories.