Documentation
¶
Index ¶
- Constants
- func CreateTable(header []string, rightAlignedCols []int, hierarchicalMerge bool, rowLine bool, ...) *tablewriter.Table
- func FormatFloatCompact(v float64) string
- func FormatUSD(v float64) string
- func SetTableFoldEnabled(enabled bool)
- func SetTableWidthOverride(width int)
- func TableFoldEnabled() bool
- func TableMaxWidth(mode string) int
Constants ¶
View Source
const HistoryEventLabelWidth = 20
Variables ¶
This section is empty.
Functions ¶
func CreateTable ¶
func FormatFloatCompact ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.