tui

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package tui implements the Bubble Tea terminal UI for BubbleFish Nexus.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model is the root Elm model for the TUI.

func NewModel

func NewModel(client *api.Client, tabList []tabs.Tab) Model

NewModel creates the root model with all tabs.

func (Model) Init

func (m Model) Init() tea.Cmd

Init starts the first tick and health check.

func (Model) Update

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

Update handles all messages for the root model.

func (Model) View

func (m Model) View() string

View renders the entire TUI.

Directories

Path Synopsis
Package api provides HTTP client and types for the Nexus admin API.
Package api provides HTTP client and types for the Nexus admin API.
Package styles defines all lipgloss colors and styles for the TUI.
Package styles defines all lipgloss colors and styles for the TUI.
Package tabs implements Bubble Tea sub-model tabs for the BubbleFish Nexus TUI.
Package tabs implements Bubble Tea sub-model tabs for the BubbleFish Nexus TUI.

Jump to

Keyboard shortcuts

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