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

ui

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModUnselected = `[ ]`
	ModSelected   = `[🗸]`
	ModDone       = ` 🗸 `
	ModError      = ` 🗴 `
)
View Source
var (
	WindowTheme paint.Theme
)

Functions

func NewUI

func NewUI(name string, usage string, description string, version string, tag string, title string, ttyPath string) (u *cUI)

Types

type Projects

type Projects []*cProject

func (Projects) Height

func (p Projects) Height() (height int)

func (Projects) Refresh

func (p Projects) Refresh()

func (Projects) Resize

func (p Projects) Resize()

type State

type State uint8
const (
	InitState State = iota
	IdleState
	DiscoveryState
	UpdatingState
	EndOfStates
)

func (State) Idle

func (s State) Idle() (idle bool)

func (State) Valid

func (s State) Valid() (valid bool)

Jump to

Keyboard shortcuts

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