Help us shape the future of Go! Take the 2026 Go Developer Survey

output

package
v0.234.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TUICommandAnnotation = "infer.tui"

TUICommandAnnotation marks commands whose terminal UI owns stdout.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	// contains filtered or unexported fields
}

Renderer owns the styles shared by non-TUI command output.

func NewRenderer

func NewRenderer() *Renderer

func (*Renderer) ColorsDisabled

func (r *Renderer) ColorsDisabled() bool

func (*Renderer) DisableColors

func (r *Renderer) DisableColors()

func (*Renderer) Field

func (r *Renderer) Field(label, value string) string

func (*Renderer) Hint

func (r *Renderer) Hint(text string) string

func (*Renderer) NewAgentsListTable added in v0.214.0

func (r *Renderer) NewAgentsListTable(headers ...string) *table.Table

NewAgentsListTable is NewListTable with the agent name (first column) left-aligned and the metadata columns right-aligned.

func (*Renderer) NewListTable

func (r *Renderer) NewListTable(headers ...string) *table.Table

func (*Renderer) PrintMarkdown

func (r *Renderer) PrintMarkdown(markdown string)

func (*Renderer) RenderMarkdown

func (r *Renderer) RenderMarkdown(markdown string) (string, error)

func (*Renderer) StatusIcon

func (r *Renderer) StatusIcon(enabled bool) string

func (*Renderer) StatusLegend

func (r *Renderer) StatusLegend() string

func (*Renderer) Title

func (r *Renderer) Title(title string) string

func (*Renderer) TraceTreeStyle

func (r *Renderer) TraceTreeStyle() styles.TreeStyle

Jump to

Keyboard shortcuts

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