Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NewTabMessage ¶
NewTabMessage is a tea.Msg that signals that a new tab should be created
type Tab ¶
type Tab interface {
// general fields
Title() string
Type() Type
SetWidth(int) Tab
SetHeight(int) Tab
ShowHelp() string
// bubbletea methods
Init() tea.Cmd
Update(msg tea.Msg) (Tab, tea.Cmd)
View() string
}
Tab is an interface outlining the methods that a tab should implement a bubbletea models' methods and also some more
Click to show internal directories.
Click to hide internal directories.