tui

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunApp added in v0.3.13

func RunApp(app *App) error

Types

type App added in v0.3.13

type App struct {
	// contains filtered or unexported fields
}

func NewApp added in v0.3.13

func NewApp(cfg *config.Config, configPath string, gh *github.Client, opts AppOptions) *App

func NewAppFromMenuOptions added in v0.3.13

func NewAppFromMenuOptions(cfg *config.Config, configPath string, gh *github.Client, opts MenuOptions) *App

func (*App) Init added in v0.3.13

func (a *App) Init() tea.Cmd

func (*App) Update added in v0.3.13

func (a *App) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*App) View added in v0.3.13

func (a *App) View() string

type AppOptions added in v0.3.13

type AppOptions struct {
	StartWithPinned bool
	StatePath       string
	NoRestoreState  bool
	RefreshInterval int
}

type FocusArea added in v0.3.13

type FocusArea int
const (
	FocusSidebar FocusArea = iota
	FocusMain
)
type MenuOptions struct {
	StartWithPinned bool
	StatePath       string
	NoRestoreState  bool
	RefreshInterval int
}

MenuOptions is deprecated, use AppOptions instead

type ViewMode added in v0.3.13

type ViewMode int
const (
	ViewGroups ViewMode = iota
	ViewRuns
)

Directories

Path Synopsis
Package components provides reusable TUI components built on Bubble Tea.
Package components provides reusable TUI components built on Bubble Tea.
Package theme provides centralized styling for the TUI application.
Package theme provides centralized styling for the TUI application.

Jump to

Keyboard shortcuts

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