teaprogram

package
v0.0.0-...-d07a634 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProgram

func NewProgram(cfg ProgramCfg) *tea.Program

Types

type ProgramCfg

type ProgramCfg struct {
	Interval    time.Duration
	LogPath     string
	Root        string
	MaxFileSize int64
}

type Status

type Status int
const (
	Initial Status = iota
	Watching
	Waiting
	ShouldConfirm
	Quitting
)

Jump to

Keyboard shortcuts

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