mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +00:00
refactor!: restore bubbletea model interface
This commit is contained in:
+2
-2
@@ -134,8 +134,8 @@ func (m Model) Timedout() bool {
|
||||
}
|
||||
|
||||
// Init starts the timer.
|
||||
func (m Model) Init() (Model, tea.Cmd) {
|
||||
return m, m.tick()
|
||||
func (m Model) Init() tea.Cmd {
|
||||
return m.tick()
|
||||
}
|
||||
|
||||
// Update handles the timer tick.
|
||||
|
||||
Reference in New Issue
Block a user