package tui
import "github.com/amonks/run/tui"
Package tui provides an interactive terminal UI for displaying multiplexed streams. The UI shows a list of the streams, and allows keyboard and mouse navigation for selecting a particular stream to inspect.
Index
Functions
func New
func New(run *runner.Run) runner.UI
New produces an interactive terminal UI for displaying multiplexed streams. The UI shows a list of the streams, and allows keyboard and mouse navigation for selecting a particular stream to inspect.
The UI can be passed into runner.Run.Start to display a run's execution.
The UI is safe to access concurrently from multiple goroutines.