Documentation ¶ Index ¶ Variables type Model func NewModel(ctx *context.ProgramContext, tabs []Tab) Model func (m *Model) NextTab() int func (m *Model) PrevTab() int func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) func (m Model) View() string type Tab Constants ¶ This section is empty. Variables ¶ View Source var ( TabsHeight = tabsBorderHeight + tabsContentHeight ) Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { Tabs []Tab CurrentTabId int // contains filtered or unexported fields } func NewModel ¶ func NewModel(ctx *context.ProgramContext, tabs []Tab) Model func (*Model) NextTab ¶ func (m *Model) NextTab() int func (*Model) PrevTab ¶ func (m *Model) PrevTab() int func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) func (Model) View ¶ func (m Model) View() string type Tab ¶ type Tab struct { Name string Icon string } Source Files ¶ View all Source files styles.go tabs.go Click to show internal directories. Click to hide internal directories.