Help us shape the future of Go! Take the 2026 Go Developer Survey

tui

package
v0.11.0-beta Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package tui provides a Bubbletea-based dashboard for crew management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {

	// Set before quitting to trigger tmux attach.
	AttachTarget string
	// contains filtered or unexported fields
}

Model is the root Bubbletea model for the dashboard.

func New

func New(crewStore *crew.Store, gigStore *gig.Store) Model

New creates a new dashboard model.

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type Tab

type Tab int

Tab identifies which tab is active.

const (
	TabCrew Tab = iota
	TabGigs
)

Jump to

Keyboard shortcuts

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