add stubs for bbtui

This commit is contained in:
2023-01-27 00:08:56 -08:00
parent 9b511cb5ea
commit 4cc204657c
2 changed files with 87 additions and 0 deletions

30
graph/help/help.go Normal file
View File

@@ -0,0 +1,30 @@
package help
import (
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
)
type Help struct {
df lipgloss.DoeFoot
}
func (h Help) Update(m tea.Msg) (tea.Model, tea.Cmd) {
return h, nil
}
func (h Help) Init() tea.Cmd {
return nil
}
func (h Help) View() string {
return ""
}
func New() Help {
return Help{}
}
func (h Help) UpdateDoeFoot(df lipgloss.DoeFoot) Help {
h.df = df
return h
}