Skip to content

Commit

Permalink
update heyUI init (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
JunNishimura committed Aug 15, 2023
1 parent af2eaf5 commit 110e6ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/hey/init.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package hey

import (
"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
_ "github.com/gdamore/tcell/v2" // if not import this package, UI does not display as expected
)

func (m *Model) Init() tea.Cmd {
return m.loadConfig
func (m Model) Init() tea.Cmd {
return tea.Batch(m.loadConfig, textinput.Blink)
}

0 comments on commit 110e6ce

Please sign in to comment.