tui

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 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 WithColorscheme

func WithColorscheme(colorscheme string) Option

func WithConfig

func WithConfig(cfg *config.Config) Option

func WithHTTPForwarding added in v0.3.1

func WithHTTPForwarding(portToForwardTo int) 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