tui

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoriesTab

type CategoriesTab struct {
	components.ViewportTab // Embed base viewport functionality
	// contains filtered or unexported fields
}

func NewCategoriesTab

func NewCategoriesTab(repos *storage.Repositories) *CategoriesTab

Return pointer to match tea.Model interface

func (*CategoriesTab) Init

func (c *CategoriesTab) Init() tea.Cmd

func (*CategoriesTab) Update

func (c *CategoriesTab) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*CategoriesTab) View

func (c *CategoriesTab) View() string

type HomeTab

type HomeTab struct {
	components.ViewportTab
}

HomeTab displays welcome message and navigation instructions.

func NewHomeTab

func NewHomeTab() HomeTab

NewHomeTab creates a new home tab instance.

func (HomeTab) Update

func (h HomeTab) Update(msg tea.Msg) (tea.Model, tea.Cmd)

type SnippetsTab

type SnippetsTab struct {
	components.ViewportTab // Embed base viewport functionality
	// contains filtered or unexported fields
}

func NewSnippetsTab

func NewSnippetsTab(repos *storage.Repositories) *SnippetsTab

func (*SnippetsTab) Init

func (s *SnippetsTab) Init() tea.Cmd

func (*SnippetsTab) Update

func (s *SnippetsTab) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*SnippetsTab) View

func (s *SnippetsTab) View() string

type TagsTab

type TagsTab struct {
	components.ViewportTab // Embed base viewport functionality
	// contains filtered or unexported fields
}

func NewTagsTab

func NewTagsTab(repos *storage.Repositories) *TagsTab

Return pointer to match tea.Model interface

func (*TagsTab) Init

func (t *TagsTab) Init() tea.Cmd

func (*TagsTab) Update

func (t *TagsTab) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TagsTab) View

func (t *TagsTab) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL