ui

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 93 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FilePath       string
	InitialContent string
	Client         *httpx.Client
	Theme          *theme.Theme
	ThemeCatalog   theme.Catalog
	ActiveThemeKey string
	Settings       config.Settings
	SettingsHandle config.SettingsHandle
	Env            vars.Config
	HTTPOptions    httpx.Options
	GRPCOptions    grpcx.Options
	SSHManager     *ssh.Manager
	K8sManager     *k8s.Manager
	History        history.Store
	WorkspaceRoot  string
	Recursive      bool
	Version        string
	UpdateClient   update.Client
	EnableUpdate   bool
	UpdateCmd      string
	Compare        engine.CompareConfig
	Bindings       *bindings.Map
	Runtime        *rtrun.Runtime
}

type Model

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

func New

func New(cfg Config) Model

func (*Model) Close added in v0.47.1

func (m *Model) Close() error

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

Source Files

Directories

Path Synopsis
Package textarea provides a heavily changed multi-line text input component for Bubble Tea applications.
Package textarea provides a heavily changed multi-line text input component for Bubble Tea applications.

Jump to

Keyboard shortcuts

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