mirror of
https://github.com/taigrr/gico.git
synced 2026-04-02 03:09:07 -07:00
add stubs for bbtui
This commit is contained in:
30
graph/help/help.go
Normal file
30
graph/help/help.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user