Help us shape the future of Go! Take the 2026 Go Developer Survey

tui

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(message string) (bool, error)

Confirm prompts the user with a message and waits for a confirmation.

Types

type StatusUI

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

func NewStatusUI

func NewStatusUI(initialMessage string) *StatusUI

func (*StatusUI) Quit

func (s *StatusUI) Quit()

func (*StatusUI) Run

func (s *StatusUI) Run() error

func (*StatusUI) UpdateStatusText

func (s *StatusUI) UpdateStatusText(statusText string)

Jump to

Keyboard shortcuts

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