status

package
v0.3.20 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	ModelName    string
	InputTokens  int
	OutputTokens int
	Width        int
	// contains filtered or unexported fields
}

Model represents the status bar state

func New

func New(modelName string, width int) *Model

New creates a new status bar model

func (*Model) Blur

func (m *Model) Blur() iface.SubModel

Blur is a no-op for status bar

func (*Model) Focus

func (m *Model) Focus() iface.SubModel

Focus is a no-op for status bar

func (*Model) Focused

func (m *Model) Focused() bool

Focused returns whether the status bar has focus (always false)

func (*Model) Update

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

Update handles status bar messages

func (*Model) View

func (m *Model) View() string

View renders the status bar

Jump to

Keyboard shortcuts

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