package searchui import ( "sevenkeys/figlet" "sevenkeys/logic" tea "github.com/charmbracelet/bubbletea" ) type Model struct { searchOptions logic.SearchOptions selectedCardPrintingId int selectedCardPrintingSearch string } func NewSearchModel() Model { return Model{} } func (m Model) Init() tea.Cmd { return nil } func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { /* var cmd tea.Cmd switch msg := msg.(type) { case cardPrintingsLoadedMsg: m.cardPrintingsLoaded = true break } */ return m, tea.Quit } func (m Model) View() string { var ui string ui += figlet.SprintMsgSlant("Insert Cards") return ui }