program

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTeaProgram

func NewTeaProgram(model tea.Model, opts ...tea.ProgramOption) *tea.Program

NewTeaProgram will create a BubbleTea program that automatically sets the no input option if you are not on a TTY, so you can run the debugger. Call it just as you would call tea.NewProgram().

Types

type Program

type Program interface {
	Start() error
	Quit()
}

Program An interface describing the parts of BubbleTea's Program that we actually use.

type ProgressMsg

type ProgressMsg *float64

type PsqlMsg

type PsqlMsg *string

type StatusMsg

type StatusMsg string

type StatusWriter

type StatusWriter struct {
	Program
}

Jump to

Keyboard shortcuts

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