tui

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 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 MainAction

type MainAction int

MainAction is the user's choice from the hub; the CLI dispatches to engines.

const (
	// MainNone means no selection (should not be returned from RunMainMenu on success).
	MainNone MainAction = iota
	// MainQuit means the user exited without running a workflow.
	MainQuit
	// MainCollect runs interactive benchmark collection.
	MainCollect
	// MainCompare runs interactive compare between two tags.
	MainCompare
	// MainTools opens the tools submenu (benchstat, qcachegrind).
	MainTools
	// MainSetup runs the configuration template step.
	MainSetup
	// MainDocs prints the documentation URL only.
	MainDocs
)

func RunMainMenu

func RunMainMenu() (MainAction, error)

RunMainMenu runs the full-screen hub until the user selects an action or quits.

Jump to

Keyboard shortcuts

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