ui

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

func LineBreaks

func LineBreaks(number int)

Types

type Config

type Config struct {
	Logger     *log.Logger
	File       string
	Duration   float64
	SignalChan chan<- Signal
	Control    control
}

type Signal

type Signal string
const (
	SignalQuit      Signal = "quit"
	SignalInterrupt Signal = "interrupt"
)

type UI

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

func NewUI

func NewUI(c Config) *UI

func (*UI) Enter

func (ui *UI) Enter()

Jump to

Keyboard shortcuts

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