tui

package
v0.0.0-...-c406796 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *config.Config,
	opts ...Option,
) (tea.Model, error)

Types

type DumpURLMsg

type DumpURLMsg struct {
	URL        string `json:"url,omitempty"`
	SSEChannel string `json:"sse_channel,omitempty"`
}

type ErrorMsg

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

type ItemMsg

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

type Option

type Option func(*model)

func WithConfig

func WithConfig(cfg *config.Config) Option

func WithHeight

func WithHeight(height int) Option

func WithSSHFingerPrint

func WithSSHFingerPrint(fingerPrint string) Option

func WithWidth

func WithWidth(width int) Option

Jump to

Keyboard shortcuts

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