ui

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package ui is used to display various ui componenets to the terminal.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserQuit        = errors.New("user quit")
	ErrNextProvider    = errors.New("user requested next provider")
	TableWidthPadding  = 10
	TableHeightPadding = 2
)

Functions

func DisplayTableAndGetSelectedID added in v0.1.11

func DisplayTableAndGetSelectedID(rows []table.Row, columns []table.Column) (string, error)

DisplayTableAndGetSelectedID displays a table using the provided columns and rows, prompts the user to select a row, and returns the value of the first column of the selected row. The first column is assumed to contain a unique identifier.

Types

This section is empty.

Jump to

Keyboard shortcuts

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