tui

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Screen

type Screen interface {
	Update(event ingitdb.ProgressEvent)
	ShowDetail(item ingitdb.ProgressEvent, errs []ingitdb.ValidationError)
	Close() error
}

Screen is the minimal display interface. Goroutine-safe.

type TUI

type TUI interface {
	Screen
	progress.Steerer
}

TUI combines Screen and Steerer. The command layer passes one TUI to dispatcher setup.

func NewNoOpTUI

func NewNoOpTUI(w io.Writer) TUI

NewNoOpTUI returns a TUI that prints to w and never emits control signals. Use for non-interactive (CI, piped) invocations.

Jump to

Keyboard shortcuts

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