components

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderMessage added in v0.2.0

func RenderMessage(e output.MessageEvent) string

Types

type ErrorDisplay added in v0.2.0

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

func NewErrorDisplay added in v0.2.0

func NewErrorDisplay() ErrorDisplay

func (ErrorDisplay) Show added in v0.2.0

func (ErrorDisplay) View added in v0.2.0

func (e ErrorDisplay) View() string

func (ErrorDisplay) Visible added in v0.2.0

func (e ErrorDisplay) Visible() bool
type Header struct {
	// contains filtered or unexported fields
}

func NewHeader

func NewHeader(version, emulatorName, endpoint string) Header

func (Header) View

func (h Header) View() string

type InputPrompt

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

func NewInputPrompt

func NewInputPrompt() InputPrompt

func (InputPrompt) Hide

func (p InputPrompt) Hide() InputPrompt

func (InputPrompt) Show

func (p InputPrompt) Show(prompt string, options []output.InputOption) InputPrompt

func (InputPrompt) View

func (p InputPrompt) View() string

func (InputPrompt) Visible

func (p InputPrompt) Visible() bool

type Spinner added in v0.2.0

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

func NewSpinner added in v0.2.0

func NewSpinner() Spinner

func (Spinner) HandleMinDurationElapsed added in v0.2.0

func (s Spinner) HandleMinDurationElapsed() Spinner

func (Spinner) PendingStop added in v0.2.0

func (s Spinner) PendingStop() bool

func (Spinner) SetText added in v0.2.0

func (s Spinner) SetText(text string) Spinner

func (Spinner) Start added in v0.2.0

func (s Spinner) Start(text string, minDuration time.Duration) Spinner

func (Spinner) Stop added in v0.2.0

func (s Spinner) Stop() (Spinner, tea.Cmd)

func (Spinner) Tick added in v0.2.0

func (s Spinner) Tick() tea.Cmd

func (Spinner) Update added in v0.2.0

func (s Spinner) Update(msg tea.Msg) (Spinner, tea.Cmd)

func (Spinner) View added in v0.2.0

func (s Spinner) View() string

func (Spinner) Visible added in v0.2.0

func (s Spinner) Visible() bool

type SpinnerMinDurationElapsedMsg added in v0.2.0

type SpinnerMinDurationElapsedMsg struct{}

Jump to

Keyboard shortcuts

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