ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchCommand

func LaunchCommand(w io.Writer, command string, args []string, wg *sync.WaitGroup)

LaunchCommand starts a command and writes its stdout and stderr to the provided writer.

func NewLogBlock

func NewLogBlock(wg *sync.WaitGroup, command string, args []string, app *tview.Application) *tview.TextView

NewLogBlock creates a new text view that runs the provided command and writes its output to the view.

func UI

func UI(cmds []string, maxCols int)

UI creates a new tview application and runs the provided commands in a grid layout. The maxCols parameter specifies the maximum number of columns in the grid.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳