render

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const HistoryEventLabelWidth = 20

Variables

This section is empty.

Functions

func CreateTable

func CreateTable(header []string, rightAlignedCols []int, hierarchicalMerge bool, rowLine bool, mode string) *tablewriter.Table

func FormatFloatCompact

func FormatFloatCompact(v float64) string

func FormatUSD

func FormatUSD(v float64) string

func SetTableFoldEnabled added in v0.2.0

func SetTableFoldEnabled(enabled bool)

SetTableFoldEnabled switches between folded tables (word wrap, no terminal squeeze unless width is explicitly configured) and the legacy break-to-fit layout.

func SetTableWidthOverride added in v0.1.10

func SetTableWidthOverride(width int)

func TableFoldEnabled added in v0.2.0

func TableFoldEnabled() bool

func TableMaxWidth added in v0.1.10

func TableMaxWidth(mode string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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