info

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package info provides UI components for displaying system information and settings.

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 bubbletea model for displaying system information.

func NewModel

func NewModel(b bus, th *ui.Theme) *Model

NewModel creates a new reactive InfoModel.

func (*Model) Init

func (m *Model) Init() tea.Cmd

Init initializes the model and starts polling for updates.

func (*Model) Update

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

Update handles UI updates and incoming information events.

func (*Model) View

func (m *Model) View() string

View renders the model (returns empty as info is printed via tea.Printf).

Jump to

Keyboard shortcuts

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