SYMBOL INDEX (876 symbols across 80 files) FILE: align.go function alignTextHorizontal (line 12) | func alignTextHorizontal(str string, pos Position, width int, style *ans... function alignTextVertical (line 61) | func alignTextVertical(str string, pos Position, height int, _ *ansi.Sty... FILE: align_test.go function TestAlignTextVertical (line 5) | func TestAlignTextVertical(t *testing.T) { FILE: ansi_unix.go function EnableLegacyWindowsANSI (line 8) | func EnableLegacyWindowsANSI(*os.File) {} FILE: ansi_windows.go function EnableLegacyWindowsANSI (line 15) | func EnableLegacyWindowsANSI(f *os.File) { FILE: blending.go function Blend1D (line 18) | func Blend1D(steps int, stops ...color.Color) []color.Color { function Blend2D (line 114) | func Blend2D(width, height int, angle float64, stops ...color.Color) []c... FILE: blending_test.go function TestBlend1D (line 8) | func TestBlend1D(t *testing.T) { function TestBlend2D (line 153) | func TestBlend2D(t *testing.T) { function TestBlend2DEdgeCases (line 296) | func TestBlend2DEdgeCases(t *testing.T) { function BenchmarkBlend1D (line 328) | func BenchmarkBlend1D(b *testing.B) { function BenchmarkBlend2D (line 342) | func BenchmarkBlend2D(b *testing.B) { FILE: borders.go type Border (line 16) | type Border struct method GetTopSize (line 35) | func (b Border) GetTopSize() int { method GetRightSize (line 42) | func (b Border) GetRightSize() int { method GetBottomSize (line 49) | func (b Border) GetBottomSize() int { method GetLeftSize (line 56) | func (b Border) GetLeftSize() int { function getBorderEdgeWidth (line 60) | func getBorderEdgeWidth(borderParts ...string) (maxWidth int) { function NormalBorder (line 223) | func NormalBorder() Border { function RoundedBorder (line 228) | func RoundedBorder() Border { function BlockBorder (line 233) | func BlockBorder() Border { function OuterHalfBlockBorder (line 238) | func OuterHalfBlockBorder() Border { function InnerHalfBlockBorder (line 243) | func InnerHalfBlockBorder() Border { function ThickBorder (line 249) | func ThickBorder() Border { function DoubleBorder (line 254) | func DoubleBorder() Border { function HiddenBorder (line 262) | func HiddenBorder() Border { function MarkdownBorder (line 272) | func MarkdownBorder() Border { function ASCIIBorder (line 277) | func ASCIIBorder() Border { type borderBlend (line 281) | type borderBlend struct method borderBlend (line 288) | func (s Style) borderBlend(width, height int, colors ...color.Color) *bo... method applyBorder (line 327) | func (s Style) applyBorder(str string) string { function renderHorizontalEdge (line 498) | func renderHorizontalEdge(left, middle, right string, width int) string { method styleBorder (line 527) | func (s Style) styleBorder(border string, fg, bg color.Color) string { method styleBorderBlend (line 542) | func (s Style) styleBorderBlend(border string, fg []color.Color, bg colo... function maxRuneWidth (line 564) | func maxRuneWidth(str string) int { function getFirstRuneAsString (line 581) | func getFirstRuneAsString(str string) string { FILE: borders_test.go function BenchmarkBorderRendering (line 9) | func BenchmarkBorderRendering(b *testing.B) { function BenchmarkBorderBlend (line 40) | func BenchmarkBorderBlend(b *testing.B) { function BenchmarkBorderRenderingNoColors (line 74) | func BenchmarkBorderRenderingNoColors(b *testing.B) { function getFirstRuneAsStringOld (line 104) | func getFirstRuneAsStringOld(str string) string { function TestGetFirstRuneAsString (line 112) | func TestGetFirstRuneAsString(t *testing.T) { function BenchmarkGetFirstRuneAsString (line 146) | func BenchmarkGetFirstRuneAsString(b *testing.B) { function BenchmarkMaxRuneWidth (line 180) | func BenchmarkMaxRuneWidth(b *testing.B) { function maxRuneWidthOld (line 211) | func maxRuneWidthOld(str string) int { FILE: canvas.go type Canvas (line 17) | type Canvas struct method Resize (line 32) | func (c *Canvas) Resize(width, height int) { method Clear (line 37) | func (c *Canvas) Clear() { method Bounds (line 42) | func (c *Canvas) Bounds() uv.Rectangle { method Width (line 47) | func (c *Canvas) Width() int { method Height (line 52) | func (c *Canvas) Height() int { method CellAt (line 57) | func (c *Canvas) CellAt(x int, y int) *uv.Cell { method SetCell (line 62) | func (c *Canvas) SetCell(x int, y int, cell *uv.Cell) { method WidthMethod (line 67) | func (c *Canvas) WidthMethod() uv.WidthMethod { method Compose (line 72) | func (c *Canvas) Compose(drawer uv.Drawable) *Canvas { method Draw (line 81) | func (c *Canvas) Draw(scr uv.Screen, area uv.Rectangle) { method Render (line 86) | func (c *Canvas) Render() string { function NewCanvas (line 24) | func NewCanvas(width, height int) *Canvas { FILE: canvas_test.go function TestCanvasRender (line 8) | func TestCanvasRender(t *testing.T) { function TestCanvasRenderWithTrailingSpaces (line 38) | func TestCanvasRenderWithTrailingSpaces(t *testing.T) { FILE: color.go function clamp (line 15) | func clamp[T cmp.Ordered](v, low, high T) T { constant Black (line 24) | Black ansi.BasicColor = iota constant Red (line 25) | Red constant Green (line 26) | Green constant Yellow (line 27) | Yellow constant Blue (line 28) | Blue constant Magenta (line 29) | Magenta constant Cyan (line 30) | Cyan constant White (line 31) | White constant BrightBlack (line 33) | BrightBlack constant BrightRed (line 34) | BrightRed constant BrightGreen (line 35) | BrightGreen constant BrightYellow (line 36) | BrightYellow constant BrightBlue (line 37) | BrightBlue constant BrightMagenta (line 38) | BrightMagenta constant BrightCyan (line 39) | BrightCyan constant BrightWhite (line 40) | BrightWhite type NoColor (line 52) | type NoColor struct method RGBA (line 59) | func (n NoColor) RGBA() (r, g, b, a uint32) { function Color (line 68) | func Color(s string) color.Color { function parseHex (line 102) | func parseHex(s string) (c color.RGBA, err error) { type RGBColor (line 138) | type RGBColor struct method RGBA (line 146) | func (c RGBColor) RGBA() (r, g, b, a uint32) { type LightDarkFunc (line 174) | type LightDarkFunc function LightDark (line 205) | func LightDark(isDark bool) LightDarkFunc { function isDarkColor (line 225) | func isDarkColor(c color.Color) bool { type CompleteFunc (line 250) | type CompleteFunc function Complete (line 265) | func Complete(p colorprofile.Profile) CompleteFunc { function ensureNotTransparent (line 282) | func ensureNotTransparent(c color.Color) color.Color { function Alpha (line 292) | func Alpha(c color.Color, alpha float64) color.Color { function Complementary (line 308) | func Complementary(c color.Color) color.Color { function Darken (line 328) | func Darken(c color.Color, percent float64) color.Color { function Lighten (line 345) | func Lighten(c color.Color, percent float64) color.Color { FILE: color_test.go function hex (line 10) | func hex(hex string) color.Color { function expectColorMatches (line 18) | func expectColorMatches(t *testing.T, got, want color.Color) { function rgbaString (line 40) | func rgbaString(t *testing.T, c color.Color) string { function TestHexToColor (line 51) | func TestHexToColor(t *testing.T) { function TestRGBA (line 85) | func TestRGBA(t *testing.T) { function TestParseHex (line 119) | func TestParseHex(t *testing.T) { function TestAlpha (line 176) | func TestAlpha(t *testing.T) { function TestComplementary (line 235) | func TestComplementary(t *testing.T) { function TestDarken (line 266) | func TestDarken(t *testing.T) { function TestLighten (line 290) | func TestLighten(t *testing.T) { FILE: compat/color.go type AdaptiveColor (line 26) | type AdaptiveColor struct method RGBA (line 33) | func (c AdaptiveColor) RGBA() (uint32, uint32, uint32, uint32) { type CompleteColor (line 42) | type CompleteColor struct method RGBA (line 50) | func (c CompleteColor) RGBA() (uint32, uint32, uint32, uint32) { type CompleteAdaptiveColor (line 65) | type CompleteAdaptiveColor struct method RGBA (line 72) | func (c CompleteAdaptiveColor) RGBA() (uint32, uint32, uint32, uint32) { FILE: examples/blending/border-blend-rotation/bubbletea/main.go constant borderRotationFPS (line 13) | borderRotationFPS = 15 constant borderRotationSteps (line 14) | borderRotationSteps = 5 type borderRotationTickMsg (line 17) | type borderRotationTickMsg struct function borderRotationTick (line 21) | func borderRotationTick(current int) tea.Cmd { type model (line 27) | type model struct method Init (line 31) | func (m model) Init() tea.Cmd { method Update (line 35) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 50) | func (m model) View() tea.View { function main (line 68) | func main() { FILE: examples/blending/linear-1d/bubbletea/main.go type gradientData (line 58) | type gradientData struct type styles (line 64) | type styles struct function newStyles (line 71) | func newStyles(dark bool) (s *styles) { type model (line 94) | type model struct method Init (line 100) | func (m model) Init() tea.Cmd { method Update (line 104) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 124) | func (m model) View() tea.View { function main (line 165) | func main() { FILE: examples/blending/linear-1d/standalone/main.go function main (line 41) | func main() { FILE: examples/blending/linear-2d/bubbletea/main.go function main (line 46) | func main() { type model (line 76) | type model struct method Init (line 92) | func (m model) Init() tea.Cmd { method Update (line 96) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method updateGradient (line 139) | func (m *model) updateGradient() { method View (line 149) | func (m model) View() tea.View { function clamp (line 205) | func clamp[T cmp.Ordered](v, low, high T) T { FILE: examples/blending/linear-2d/standalone/main.go function main (line 14) | func main() { FILE: examples/brightness/main.go function main (line 13) | func main() { FILE: examples/canvas/main.go function newField (line 13) | func newField(rows, cols int, color color.Color) string { function newCard (line 28) | func newCard(darkMode bool, text string) string { function main (line 48) | func main() { FILE: examples/color/bubbletea/main.go type styles (line 12) | type styles struct function newStyles (line 22) | func newStyles(backgroundIsDark bool) (s *styles) { type model (line 66) | type model struct method Init (line 73) | func (m model) Init() tea.Cmd { method Update (line 79) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 112) | func (m model) View() tea.View { function main (line 152) | func main() { FILE: examples/color/standalone/main.go function main (line 15) | func main() { FILE: examples/compat/bubbletea/main.go type styles (line 21) | type styles struct function newStyles (line 31) | func newStyles() (s styles) { type model (line 59) | type model struct method Init (line 66) | func (m model) Init() tea.Cmd { method Update (line 70) | func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 96) | func (m model) View() tea.View { function main (line 131) | func main() { FILE: examples/compat/standalone/main.go function main (line 22) | func main() { FILE: examples/layout/main.go constant width (line 21) | width = 96 constant columnWidth (line 24) | columnWidth = 30 function main (line 36) | func main() { function colorGrid (line 397) | func colorGrid(xSteps, ySteps int) [][]color.Color { function applyGradient (line 413) | func applyGradient(base lipgloss.Style, input string, from, to color.Col... FILE: examples/list/duckduckgoose/main.go function duckDuckGooseEnumerator (line 8) | func duckDuckGooseEnumerator(items list.Items, i int) string { function main (line 15) | func main() { FILE: examples/list/glow/main.go type Document (line 8) | type Document struct method String (line 15) | func (d Document) String() string { constant selected (line 26) | selected = 1 function main (line 28) | func main() { FILE: examples/list/grocery/main.go function groceryEnumerator (line 20) | func groceryEnumerator(items list.Items, i int) string { function enumStyleFunc (line 37) | func enumStyleFunc(items list.Items, i int) lipgloss.Style { function itemStyleFunc (line 46) | func itemStyleFunc(items list.Items, i int) lipgloss.Style { function main (line 56) | func main() { FILE: examples/list/roman/main.go function main (line 8) | func main() { FILE: examples/list/simple/main.go function main (line 8) | func main() { FILE: examples/list/sublist/main.go function main (line 11) | func main() { FILE: examples/ssh/main.go type styles (line 21) | type styles struct function makeStyles (line 37) | func makeStyles() styles { function handler (line 55) | func handler(next ssh.Handler) ssh.Handler { function main (line 132) | func main() { FILE: examples/table/ansi/main.go function main (line 8) | func main() { FILE: examples/table/chess/main.go function main (line 10) | func main() { FILE: examples/table/languages/main.go constant purple (line 9) | purple = "99" constant gray (line 10) | gray = "245" constant lightGray (line 11) | lightGray = "241" function main (line 14) | func main() { FILE: examples/table/mindy/main.go function main (line 10) | func main() { constant rowLength (line 47) | rowLength = 12 function makeRow (line 49) | func makeRow(start, end int) []string { function makeEmptyRow (line 61) | func makeEmptyRow() []string { FILE: examples/table/pokemon/main.go function main (line 12) | func main() { FILE: examples/tree/background/main.go function main (line 8) | func main() { FILE: examples/tree/files/main.go function addBranches (line 13) | func addBranches(root *tree.Tree, path string) error { function main (line 51) | func main() { FILE: examples/tree/makeup/main.go function main (line 8) | func main() { FILE: examples/tree/rounded/main.go function main (line 8) | func main() { FILE: examples/tree/selection/main.go constant selected (line 11) | selected = "/Users/bash/.config/doom-emacs" type styles (line 13) | type styles struct function defaultStyles (line 22) | func defaultStyles() styles { type dir (line 42) | type dir struct method String (line 48) | func (d dir) String() string { type file (line 58) | type file struct method String (line 63) | func (s file) String() string { method Hidden (line 67) | func (s file) Hidden() bool { method Children (line 71) | func (s file) Children() tree.Children { method Value (line 75) | func (s file) Value() string { method SetValue (line 79) | func (s file) SetValue(val any) { method SetHidden (line 83) | func (s file) SetHidden(val bool) { function isItemSelected (line 87) | func isItemSelected(children tree.Children, index int) bool { function itemStyle (line 96) | func itemStyle(children tree.Children, index int) lipgloss.Style { function indenterStyle (line 105) | func indenterStyle(children tree.Children, index int) lipgloss.Style { function main (line 114) | func main() { function Enumerator (line 144) | func Enumerator(children tree.Children, index int) string { function Indenter (line 148) | func Indenter(children tree.Children, index int) string { FILE: examples/tree/simple/main.go function main (line 8) | func main() { FILE: examples/tree/styles/main.go function main (line 10) | func main() { FILE: examples/tree/toggle/main.go type styles (line 8) | type styles struct function defaultStyles (line 17) | func defaultStyles() styles { type dir (line 38) | type dir struct method String (line 44) | func (d dir) String() string { type file (line 53) | type file struct method String (line 58) | func (s file) String() string { function main (line 62) | func main() { FILE: get.go method GetBold (line 11) | func (s Style) GetBold() bool { method GetItalic (line 17) | func (s Style) GetItalic() bool { method GetUnderline (line 23) | func (s Style) GetUnderline() bool { method GetUnderlineStyle (line 29) | func (s Style) GetUnderlineStyle() Underline { method GetUnderlineColor (line 35) | func (s Style) GetUnderlineColor() color.Color { method GetStrikethrough (line 41) | func (s Style) GetStrikethrough() bool { method GetReverse (line 47) | func (s Style) GetReverse() bool { method GetBlink (line 53) | func (s Style) GetBlink() bool { method GetFaint (line 59) | func (s Style) GetFaint() bool { method GetForeground (line 65) | func (s Style) GetForeground() color.Color { method GetBackground (line 71) | func (s Style) GetBackground() color.Color { method GetWidth (line 77) | func (s Style) GetWidth() int { method GetHeight (line 83) | func (s Style) GetHeight() int { method GetAlign (line 89) | func (s Style) GetAlign() Position { method GetAlignHorizontal (line 99) | func (s Style) GetAlignHorizontal() Position { method GetAlignVertical (line 109) | func (s Style) GetAlignVertical() Position { method GetPadding (line 119) | func (s Style) GetPadding() (top, right, bottom, left int) { method GetPaddingTop (line 128) | func (s Style) GetPaddingTop() int { method GetPaddingRight (line 134) | func (s Style) GetPaddingRight() int { method GetPaddingBottom (line 140) | func (s Style) GetPaddingBottom() int { method GetPaddingLeft (line 146) | func (s Style) GetPaddingLeft() int { method GetPaddingChar (line 152) | func (s Style) GetPaddingChar() rune { method GetHorizontalPadding (line 162) | func (s Style) GetHorizontalPadding() int { method GetVerticalPadding (line 168) | func (s Style) GetVerticalPadding() int { method GetColorWhitespace (line 174) | func (s Style) GetColorWhitespace() bool { method GetMargin (line 180) | func (s Style) GetMargin() (top, right, bottom, left int) { method GetMarginTop (line 189) | func (s Style) GetMarginTop() int { method GetMarginRight (line 195) | func (s Style) GetMarginRight() int { method GetMarginBottom (line 201) | func (s Style) GetMarginBottom() int { method GetMarginLeft (line 207) | func (s Style) GetMarginLeft() int { method GetMarginChar (line 213) | func (s Style) GetMarginChar() rune { method GetHorizontalMargins (line 223) | func (s Style) GetHorizontalMargins() int { method GetVerticalMargins (line 229) | func (s Style) GetVerticalMargins() int { method GetBorder (line 237) | func (s Style) GetBorder() (b Border, top, right, bottom, left bool) { method GetBorderStyle (line 247) | func (s Style) GetBorderStyle() Border { method GetBorderTop (line 253) | func (s Style) GetBorderTop() bool { method GetBorderRight (line 259) | func (s Style) GetBorderRight() bool { method GetBorderBottom (line 265) | func (s Style) GetBorderBottom() bool { method GetBorderLeft (line 271) | func (s Style) GetBorderLeft() bool { method GetBorderTopForeground (line 277) | func (s Style) GetBorderTopForeground() color.Color { method GetBorderRightForeground (line 283) | func (s Style) GetBorderRightForeground() color.Color { method GetBorderBottomForeground (line 289) | func (s Style) GetBorderBottomForeground() color.Color { method GetBorderLeftForeground (line 295) | func (s Style) GetBorderLeftForeground() color.Color { method GetBorderForegroundBlend (line 301) | func (s Style) GetBorderForegroundBlend() []color.Color { method GetBorderForegroundBlendOffset (line 307) | func (s Style) GetBorderForegroundBlendOffset() int { method GetBorderTopBackground (line 313) | func (s Style) GetBorderTopBackground() color.Color { method GetBorderRightBackground (line 319) | func (s Style) GetBorderRightBackground() color.Color { method GetBorderBottomBackground (line 325) | func (s Style) GetBorderBottomBackground() color.Color { method GetBorderLeftBackground (line 331) | func (s Style) GetBorderLeftBackground() color.Color { method GetBorderTopWidth (line 340) | func (s Style) GetBorderTopWidth() int { method GetBorderTopSize (line 347) | func (s Style) GetBorderTopSize() int { method GetBorderLeftSize (line 360) | func (s Style) GetBorderLeftSize() int { method GetBorderBottomSize (line 373) | func (s Style) GetBorderBottomSize() int { method GetBorderRightSize (line 386) | func (s Style) GetBorderRightSize() int { method GetHorizontalBorderSize (line 399) | func (s Style) GetHorizontalBorderSize() int { method GetVerticalBorderSize (line 406) | func (s Style) GetVerticalBorderSize() int { method GetInline (line 412) | func (s Style) GetInline() bool { method GetMaxWidth (line 418) | func (s Style) GetMaxWidth() int { method GetMaxHeight (line 424) | func (s Style) GetMaxHeight() int { method GetTabWidth (line 430) | func (s Style) GetTabWidth() int { method GetUnderlineSpaces (line 436) | func (s Style) GetUnderlineSpaces() bool { method GetStrikethroughSpaces (line 442) | func (s Style) GetStrikethroughSpaces() bool { method GetHorizontalFrameSize (line 450) | func (s Style) GetHorizontalFrameSize() int { method GetVerticalFrameSize (line 458) | func (s Style) GetVerticalFrameSize() int { method GetFrameSize (line 464) | func (s Style) GetFrameSize() (x, y int) { method GetTransform (line 470) | func (s Style) GetTransform() func(string) string { method GetHyperlink (line 476) | func (s Style) GetHyperlink() (link, params string) { method isSet (line 487) | func (s Style) isSet(k propKey) bool { method getAsRune (line 491) | func (s Style) getAsRune(k propKey) rune { method getAsBool (line 504) | func (s Style) getAsBool(k propKey, defaultVal bool) bool { method getAsColors (line 511) | func (s Style) getAsColors(k propKey) (colors []color.Color) { method getAsColor (line 524) | func (s Style) getAsColor(k propKey) color.Color { method getAsInt (line 564) | func (s Style) getAsInt(k propKey) int { method getAsPosition (line 601) | func (s Style) getAsPosition(k propKey) Position { method getBorderStyle (line 614) | func (s Style) getBorderStyle() Border { method getAsTransform (line 621) | func (s Style) getAsTransform(propKey) func(string) string { function getLines (line 630) | func getLines(s string) (lines []string, widest int) { method isBorderStyleSetWithoutSides (line 648) | func (s Style) isBorderStyleSetWithoutSides() bool { FILE: join.go function JoinHorizontal (line 28) | func JoinHorizontal(pos Position, strs ...string) string { function JoinVertical (line 116) | func JoinVertical(pos Position, strs ...string) string { FILE: join_test.go function TestJoinVertical (line 5) | func TestJoinVertical(t *testing.T) { function TestJoinHorizontal (line 26) | func TestJoinHorizontal(t *testing.T) { FILE: layer.go type Layer (line 13) | type Layer struct method GetContent (line 31) | func (l *Layer) GetContent() string { method Width (line 36) | func (l *Layer) Width() int { method Height (line 41) | func (l *Layer) Height() int { method GetID (line 46) | func (l *Layer) GetID() string { method ID (line 51) | func (l *Layer) ID(id string) *Layer { method X (line 57) | func (l *Layer) X(x int) *Layer { method Y (line 63) | func (l *Layer) Y(y int) *Layer { method Z (line 69) | func (l *Layer) Z(z int) *Layer { method GetX (line 75) | func (l *Layer) GetX() int { method GetY (line 80) | func (l *Layer) GetY() int { method GetZ (line 85) | func (l *Layer) GetZ() int { method AddLayers (line 90) | func (l *Layer) AddLayers(layers ...*Layer) *Layer { method GetLayer (line 105) | func (l *Layer) GetLayer(id string) *Layer { method MaxZ (line 121) | func (l *Layer) MaxZ() int { method boundsWithOffset (line 133) | func (l *Layer) boundsWithOffset(parentX, parentY int) image.Rectangle { method Draw (line 153) | func (l *Layer) Draw(scr uv.Screen, area uv.Rectangle) { function NewLayer (line 22) | func NewLayer(content string, layers ...*Layer) *Layer { type LayerHit (line 159) | type LayerHit struct method Empty (line 166) | func (lh LayerHit) Empty() bool { method ID (line 171) | func (lh LayerHit) ID() string { method Layer (line 176) | func (lh LayerHit) Layer() *Layer { method Bounds (line 181) | func (lh LayerHit) Bounds() image.Rectangle { type Compositor (line 188) | type Compositor struct method AddLayers (line 218) | func (c *Compositor) AddLayers(layers ...*Layer) *Compositor { method flatten (line 225) | func (c *Compositor) flatten() { method flattenRecursive (line 245) | func (c *Compositor) flattenRecursive(layer *Layer, parentX, parentY i... method Bounds (line 273) | func (c *Compositor) Bounds() image.Rectangle { method Draw (line 278) | func (c *Compositor) Draw(scr uv.Screen, area image.Rectangle) { method Hit (line 289) | func (c *Compositor) Hit(x, y int) LayerHit { method GetLayer (line 307) | func (c *Compositor) GetLayer(id string) *Layer { method Refresh (line 316) | func (c *Compositor) Refresh() { method Render (line 323) | func (c *Compositor) Render() string { type compositeLayer (line 196) | type compositeLayer struct function NewCompositor (line 206) | func NewCompositor(layers ...*Layer) *Compositor { FILE: list/enumerator.go type Enumerator (line 26) | type Enumerator type Indenter (line 42) | type Indenter function Alphabet (line 51) | func Alphabet(_ Items, i int) string { constant abcLen (line 61) | abcLen = 26 function Arabic (line 70) | func Arabic(_ Items, i int) string { function Roman (line 81) | func Roman(_ Items, i int) string { function Bullet (line 104) | func Bullet(Items, int) string { function Asterisk (line 115) | func Asterisk(Items, int) string { function Dash (line 126) | func Dash(Items, int) string { FILE: list/list.go type List (line 34) | type List struct method Hidden (line 84) | func (l *List) Hidden() bool { method Hide (line 90) | func (l *List) Hide(hide bool) *List { method Offset (line 106) | func (l *List) Offset(start, end int) *List { method Value (line 112) | func (l *List) Value() string { method String (line 116) | func (l *List) String() string { method EnumeratorStyle (line 124) | func (l *List) EnumeratorStyle(style lipgloss.Style) *List { method EnumeratorStyleFunc (line 143) | func (l *List) EnumeratorStyleFunc(f StyleFunc) *List { method IndenterStyle (line 154) | func (l *List) IndenterStyle(style lipgloss.Style) *List { method IndenterStyleFunc (line 173) | func (l *List) IndenterStyleFunc(f StyleFunc) *List { method Indenter (line 201) | func (l *List) Indenter(indenter Indenter) *List { method ItemStyle (line 214) | func (l *List) ItemStyle(style lipgloss.Style) *List { method ItemStyleFunc (line 233) | func (l *List) ItemStyleFunc(f StyleFunc) *List { method Item (line 246) | func (l *List) Item(item any) *List { method Items (line 260) | func (l *List) Items(items ...any) *List { method Enumerator (line 288) | func (l *List) Enumerator(enumerator Enumerator) *List { function New (line 50) | func New(items ...any) *List { type Items (line 58) | type Items type StyleFunc (line 81) | type StyleFunc FILE: list/list_test.go function TestList (line 18) | func TestList(t *testing.T) { function TestListItems (line 27) | func TestListItems(t *testing.T) { function TestSublist (line 34) | func TestSublist(t *testing.T) { function TestSublistItems (line 44) | func TestSublistItems(t *testing.T) { function TestComplexSublist (line 60) | func TestComplexSublist(t *testing.T) { function TestMultiline (line 142) | func TestMultiline(t *testing.T) { function TestListIntegers (line 151) | func TestListIntegers(t *testing.T) { function TestEnumerators (line 160) | func TestEnumerators(t *testing.T) { function TestEnumeratorsTransform (line 228) | func TestEnumeratorsTransform(t *testing.T) { function TestBullet (line 292) | func TestBullet(t *testing.T) { function TestEnumeratorsAlign (line 326) | func TestEnumeratorsAlign(t *testing.T) { function TestSubListItems2 (line 336) | func TestSubListItems2(t *testing.T) { function assertEqual (line 350) | func assertEqual(tb testing.TB, expected, got string) { function trimSpace (line 361) | func trimSpace(s string) string { FILE: position.go type Position (line 19) | type Position method value (line 21) | func (p Position) value() float64 { constant Top (line 27) | Top Position = 0.0 constant Bottom (line 28) | Bottom Position = 1.0 constant Center (line 29) | Center Position = 0.5 constant Left (line 30) | Left Position = 0.0 constant Right (line 31) | Right Position = 1.0 function Place (line 36) | func Place(width, height int, hPos, vPos Position, str string, opts ...W... function PlaceHorizontal (line 43) | func PlaceHorizontal(width int, pos Position, str string, opts ...Whites... function PlaceVertical (line 90) | func PlaceVertical(height int, pos Position, str string, opts ...Whitesp... FILE: query.go function backgroundColor (line 12) | func backgroundColor(in term.File, out term.File) (color.Color, error) { function BackgroundColor (line 34) | func BackgroundColor(in term.File, out term.File) (bg color.Color, err e... function HasDarkBackground (line 83) | func HasDarkBackground(in term.File, out term.File) bool { FILE: ranges.go function StyleRanges (line 11) | func StyleRanges(s string, ranges ...Range) string { function NewRange (line 39) | func NewRange(start, end int, style Style) Range { type Range (line 45) | type Range struct FILE: ranges_test.go function TestStyleRanges (line 7) | func TestStyleRanges(t *testing.T) { FILE: runes.go function StyleRunes (line 10) | func StyleRunes(str string, indices []int, matched, unmatched Style) str... FILE: runes_test.go function TestStyleRunes (line 7) | func TestStyleRunes(t *testing.T) { FILE: set.go method set (line 9) | func (s *Style) set(key propKey, value any) { method setFrom (line 111) | func (s *Style) setFrom(key propKey, i Style) { function colorOrNil (line 187) | func colorOrNil(c any) color.Color { method Bold (line 195) | func (s Style) Bold(v bool) Style { method Italic (line 202) | func (s Style) Italic(v bool) Style { method Underline (line 210) | func (s Style) Underline(v bool) Style { method UnderlineStyle (line 223) | func (s Style) UnderlineStyle(u Underline) Style { method UnderlineColor (line 234) | func (s Style) UnderlineColor(c color.Color) Style { method Strikethrough (line 242) | func (s Style) Strikethrough(v bool) Style { method Reverse (line 248) | func (s Style) Reverse(v bool) Style { method Blink (line 254) | func (s Style) Blink(v bool) Style { method Faint (line 260) | func (s Style) Faint(v bool) Style { method Foreground (line 272) | func (s Style) Foreground(c color.Color) Style { method Background (line 278) | func (s Style) Background(c color.Color) Style { method Width (line 286) | func (s Style) Width(i int) Style { method Height (line 294) | func (s Style) Height(i int) Style { method Align (line 305) | func (s Style) Align(p ...Position) Style { method AlignHorizontal (line 316) | func (s Style) AlignHorizontal(p Position) Style { method AlignVertical (line 322) | func (s Style) AlignVertical(p Position) Style { method Padding (line 341) | func (s Style) Padding(i ...int) Style { method PaddingLeft (line 355) | func (s Style) PaddingLeft(i int) Style { method PaddingRight (line 361) | func (s Style) PaddingRight(i int) Style { method PaddingTop (line 367) | func (s Style) PaddingTop(i int) Style { method PaddingBottom (line 373) | func (s Style) PaddingBottom(i int) Style { method PaddingChar (line 385) | func (s Style) PaddingChar(r rune) Style { method ColorWhitespace (line 396) | func (s Style) ColorWhitespace(v bool) Style { method Margin (line 415) | func (s Style) Margin(i ...int) Style { method MarginLeft (line 429) | func (s Style) MarginLeft(i int) Style { method MarginRight (line 435) | func (s Style) MarginRight(i int) Style { method MarginTop (line 441) | func (s Style) MarginTop(i int) Style { method MarginBottom (line 447) | func (s Style) MarginBottom(i int) Style { method MarginBackground (line 455) | func (s Style) MarginBackground(c color.Color) Style { method MarginChar (line 462) | func (s Style) MarginChar(r rune) Style { method Border (line 490) | func (s Style) Border(b Border, sides ...bool) Style { method BorderStyle (line 523) | func (s Style) BorderStyle(b Border) Style { method BorderTop (line 529) | func (s Style) BorderTop(v bool) Style { method BorderRight (line 535) | func (s Style) BorderRight(v bool) Style { method BorderBottom (line 541) | func (s Style) BorderBottom(v bool) Style { method BorderLeft (line 547) | func (s Style) BorderLeft(v bool) Style { method BorderForeground (line 567) | func (s Style) BorderForeground(c ...color.Color) Style { method BorderTopForeground (line 586) | func (s Style) BorderTopForeground(c color.Color) Style { method BorderRightForeground (line 593) | func (s Style) BorderRightForeground(c color.Color) Style { method BorderBottomForeground (line 600) | func (s Style) BorderBottomForeground(c color.Color) Style { method BorderLeftForeground (line 607) | func (s Style) BorderLeftForeground(c color.Color) Style { method BorderForegroundBlend (line 628) | func (s Style) BorderForegroundBlend(c ...color.Color) Style { method BorderForegroundBlendOffset (line 655) | func (s Style) BorderForegroundBlendOffset(v int) Style { method BorderBackground (line 675) | func (s Style) BorderBackground(c ...color.Color) Style { method BorderTopBackground (line 694) | func (s Style) BorderTopBackground(c color.Color) Style { method BorderRightBackground (line 700) | func (s Style) BorderRightBackground(c color.Color) Style { method BorderBottomBackground (line 707) | func (s Style) BorderBottomBackground(c color.Color) Style { method BorderLeftBackground (line 714) | func (s Style) BorderLeftBackground(c color.Color) Style { method Inline (line 732) | func (s Style) Inline(v bool) Style { method MaxWidth (line 750) | func (s Style) MaxWidth(n int) Style { method MaxHeight (line 762) | func (s Style) MaxHeight(n int) Style { constant NoTabConversion (line 770) | NoTabConversion = -1 method TabWidth (line 777) | func (s Style) TabWidth(n int) Style { method UnderlineSpaces (line 788) | func (s Style) UnderlineSpaces(v bool) Style { method StrikethroughSpaces (line 796) | func (s Style) StrikethroughSpaces(v bool) Style { method Transform (line 808) | func (s Style) Transform(fn func(string) string) Style { method Hyperlink (line 820) | func (s Style) Hyperlink(link string, params ...string) Style { function whichSidesInt (line 838) | func whichSidesInt(i ...int) (top, right, bottom, left int, ok bool) { function whichSidesBool (line 871) | func whichSidesBool(i ...bool) (top, right, bottom, left bool, ok bool) { function whichSidesColor (line 904) | func whichSidesColor(i ...color.Color) (top, right, bottom, left color.C... FILE: size.go function Width (line 15) | func Width(str string) (width int) { function Height (line 29) | func Height(str string) int { function Size (line 36) | func Size(str string) (width, height int) { FILE: size_test.go function BenchmarkWidthSimple (line 8) | func BenchmarkWidthSimple(b *testing.B) { function BenchmarkWidthMultiLine (line 24) | func BenchmarkWidthMultiLine(b *testing.B) { FILE: style.go constant NBSP (line 13) | NBSP = '\u00A0' constant tabWidthDefault (line 14) | tabWidthDefault = 4 type propKey (line 18) | type propKey constant boldKey (line 23) | boldKey propKey = 1 << iota constant italicKey (line 24) | italicKey constant strikethroughKey (line 25) | strikethroughKey constant reverseKey (line 26) | reverseKey constant blinkKey (line 27) | blinkKey constant faintKey (line 28) | faintKey constant underlineSpacesKey (line 29) | underlineSpacesKey constant strikethroughSpacesKey (line 30) | strikethroughSpacesKey constant colorWhitespaceKey (line 31) | colorWhitespaceKey constant underlineKey (line 34) | underlineKey constant foregroundKey (line 35) | foregroundKey constant backgroundKey (line 36) | backgroundKey constant underlineColorKey (line 37) | underlineColorKey constant widthKey (line 38) | widthKey constant heightKey (line 39) | heightKey constant alignHorizontalKey (line 40) | alignHorizontalKey constant alignVerticalKey (line 41) | alignVerticalKey constant paddingTopKey (line 44) | paddingTopKey constant paddingRightKey (line 45) | paddingRightKey constant paddingBottomKey (line 46) | paddingBottomKey constant paddingLeftKey (line 47) | paddingLeftKey constant paddingCharKey (line 48) | paddingCharKey constant marginTopKey (line 51) | marginTopKey constant marginRightKey (line 52) | marginRightKey constant marginBottomKey (line 53) | marginBottomKey constant marginLeftKey (line 54) | marginLeftKey constant marginBackgroundKey (line 55) | marginBackgroundKey constant marginCharKey (line 56) | marginCharKey constant borderStyleKey (line 59) | borderStyleKey constant borderTopKey (line 62) | borderTopKey constant borderRightKey (line 63) | borderRightKey constant borderBottomKey (line 64) | borderBottomKey constant borderLeftKey (line 65) | borderLeftKey constant borderTopForegroundKey (line 68) | borderTopForegroundKey constant borderRightForegroundKey (line 69) | borderRightForegroundKey constant borderBottomForegroundKey (line 70) | borderBottomForegroundKey constant borderLeftForegroundKey (line 71) | borderLeftForegroundKey constant borderForegroundBlendKey (line 72) | borderForegroundBlendKey constant borderForegroundBlendOffsetKey (line 73) | borderForegroundBlendOffsetKey constant borderTopBackgroundKey (line 76) | borderTopBackgroundKey constant borderRightBackgroundKey (line 77) | borderRightBackgroundKey constant borderBottomBackgroundKey (line 78) | borderBottomBackgroundKey constant borderLeftBackgroundKey (line 79) | borderLeftBackgroundKey constant inlineKey (line 81) | inlineKey constant maxWidthKey (line 82) | maxWidthKey constant maxHeightKey (line 83) | maxHeightKey constant tabWidthKey (line 84) | tabWidthKey constant transformKey (line 86) | transformKey constant linkKey (line 89) | linkKey constant linkParamsKey (line 90) | linkParamsKey type props (line 94) | type props method set (line 97) | func (p props) set(k propKey) props { method unset (line 102) | func (p props) unset(k propKey) props { method has (line 107) | func (p props) has(k propKey) bool { constant UnderlineNone (line 121) | UnderlineNone = ansi.UnderlineNone constant UnderlineSingle (line 123) | UnderlineSingle = ansi.UnderlineSingle constant UnderlineDouble (line 125) | UnderlineDouble = ansi.UnderlineDouble constant UnderlineCurly (line 127) | UnderlineCurly = ansi.UnderlineCurly constant UnderlineDotted (line 129) | UnderlineDotted = ansi.UnderlineDotted constant UnderlineDashed (line 131) | UnderlineDashed = ansi.UnderlineDashed function NewStyle (line 137) | func NewStyle() Style { type Style (line 142) | type Style struct method SetString (line 208) | func (s Style) SetString(strs ...string) Style { method Value (line 214) | func (s Style) Value() string { method String (line 221) | func (s Style) String() string { method Copy (line 229) | func (s Style) Copy() Style { method Inherit (line 238) | func (s Style) Inherit(i Style) Style { method Render (line 268) | func (s Style) Render(strs ...string) string { method maybeConvertTabs (line 528) | func (s Style) maybeConvertTabs(str string) string { method applyMargins (line 543) | func (s Style) applyMargins(str string, inline bool) string { function joinString (line 199) | func joinString(strs ...string) string { function padLeft (line 583) | func padLeft(str string, n int, style *ansi.Style, r rune) string { function padRight (line 588) | func padRight(str string, n int, style *ansi.Style, r rune) string { function pad (line 598) | func pad(str string, n int, style *ansi.Style, r rune) string { function abs (line 631) | func abs(a int) int { FILE: style_test.go function TestUnderline (line 10) | func TestUnderline(t *testing.T) { function TestGetUnderlineColor (line 54) | func TestGetUnderlineColor(t *testing.T) { function TestStrikethrough (line 64) | func TestStrikethrough(t *testing.T) { function TestStyleRender (line 100) | func TestStyleRender(t *testing.T) { function TestValueCopy (line 144) | func TestValueCopy(t *testing.T) { function TestStyleInherit (line 156) | func TestStyleInherit(t *testing.T) { function TestStyleCopy (line 194) | func TestStyleCopy(t *testing.T) { function TestStyleUnset (line 234) | func TestStyleUnset(t *testing.T) { function TestStyleValue (line 364) | func TestStyleValue(t *testing.T) { function TestCustomPaddingChar (line 433) | func TestCustomPaddingChar(t *testing.T) { function TestTabConversion (line 438) | func TestTabConversion(t *testing.T) { function TestStringTransform (line 449) | func TestStringTransform(t *testing.T) { function requireTrue (line 494) | func requireTrue(tb testing.TB, b bool) { function requireFalse (line 499) | func requireFalse(tb testing.TB, b bool) { function requireEqual (line 504) | func requireEqual(tb testing.TB, a, b any) { function requireNotEqual (line 512) | func requireNotEqual(tb testing.TB, a, b any) { function TestCarriageReturnInRender (line 520) | func TestCarriageReturnInRender(t *testing.T) { function TestWidth (line 533) | func TestWidth(t *testing.T) { function TestHeight (line 558) | func TestHeight(t *testing.T) { function TestHyperlink (line 583) | func TestHyperlink(t *testing.T) { function TestUnsetHyperlink (line 615) | func TestUnsetHyperlink(t *testing.T) { function BenchmarkPad (line 647) | func BenchmarkPad(b *testing.B) { function BenchmarkStyleRender (line 667) | func BenchmarkStyleRender(b *testing.B) { FILE: table/resizing.go method resize (line 47) | func (t *Table) resize() { type resizerColumn (line 111) | type resizerColumn struct type resizer (line 122) | type resizer struct method optimizedWidths (line 190) | func (r *resizer) optimizedWidths() (colWidths, rowHeights []int) { method detectTableWidth (line 198) | func (r *resizer) detectTableWidth() int { method expandTableWidth (line 203) | func (r *resizer) expandTableWidth() (colWidths []int) { method shrinkTableWidth (line 234) | func (r *resizer) shrinkTableWidth() (colWidths []int) { method expandRowHeights (line 311) | func (r *resizer) expandRowHeights(colWidths []int) { method defaultRowHeights (line 332) | func (r *resizer) defaultRowHeights() (rowHeights []int) { method maxColumnWidths (line 344) | func (r *resizer) maxColumnWidths() []int { method columnCount (line 357) | func (r *resizer) columnCount() int { method maxCharCount (line 362) | func (r *resizer) maxCharCount() int { method maxTotal (line 375) | func (r *resizer) maxTotal() (maxTotal int) { method totalHorizontalPadding (line 387) | func (r *resizer) totalHorizontalPadding() (totalHorizontalPadding int) { method xPaddingForCol (line 395) | func (r *resizer) xPaddingForCol(j int) int { method yPaddingForCell (line 403) | func (r *resizer) yPaddingForCell(i, j int) int { method totalHorizontalBorder (line 411) | func (r *resizer) totalHorizontalBorder() int { method detectContentHeight (line 416) | func (r *resizer) detectContentHeight(content string, width int) (heig... method visibleRowIndexes (line 434) | func (r *resizer) visibleRowIndexes() (firstVisibleRowIndex, lastVisib... function newResizer (line 145) | func newResizer(tableWidth, tableHeight int, headers []string, rows [][]... FILE: table/rows.go type Data (line 4) | type Data interface type StringData (line 16) | type StringData struct method Append (line 34) | func (m *StringData) Append(row []string) { method At (line 40) | func (m *StringData) At(row, cell int) string { method Columns (line 49) | func (m *StringData) Columns() int { method Item (line 54) | func (m *StringData) Item(rows ...string) *StringData { method Rows (line 61) | func (m *StringData) Rows() int { function NewStringData (line 22) | func NewStringData(rows ...[]string) *StringData { type Filter (line 66) | type Filter struct method Filter (line 77) | func (m *Filter) Filter(f func(row int) bool) *Filter { method At (line 83) | func (m *Filter) At(row, cell int) string { method Columns (line 99) | func (m *Filter) Columns() int { method Rows (line 104) | func (m *Filter) Rows() int { function NewFilter (line 72) | func NewFilter(data Data) *Filter { function DataToMatrix (line 117) | func DataToMatrix(data Data) (rows [][]string) { FILE: table/table.go constant HeaderRow (line 13) | HeaderRow int = -1 type StyleFunc (line 37) | type StyleFunc function DefaultStyles (line 40) | func DefaultStyles(_, _ int) lipgloss.Style { type Table (line 45) | type Table struct method ClearRows (line 96) | func (t *Table) ClearRows() *Table { method BaseStyle (line 103) | func (t *Table) BaseStyle(baseStyle lipgloss.Style) *Table { method StyleFunc (line 110) | func (t *Table) StyleFunc(style StyleFunc) *Table { method style (line 116) | func (t *Table) style(row, col int) lipgloss.Style { method Data (line 124) | func (t *Table) Data(data Data) *Table { method GetData (line 130) | func (t *Table) GetData() Data { method Rows (line 135) | func (t *Table) Rows(rows ...[]string) *Table { method Row (line 146) | func (t *Table) Row(row ...string) *Table { method Headers (line 155) | func (t *Table) Headers(headers ...string) *Table { method GetHeaders (line 161) | func (t *Table) GetHeaders() []string { method Border (line 166) | func (t *Table) Border(border lipgloss.Border) *Table { method BorderTop (line 172) | func (t *Table) BorderTop(v bool) *Table { method BorderBottom (line 178) | func (t *Table) BorderBottom(v bool) *Table { method BorderLeft (line 184) | func (t *Table) BorderLeft(v bool) *Table { method BorderRight (line 190) | func (t *Table) BorderRight(v bool) *Table { method BorderHeader (line 196) | func (t *Table) BorderHeader(v bool) *Table { method BorderColumn (line 202) | func (t *Table) BorderColumn(v bool) *Table { method BorderRow (line 208) | func (t *Table) BorderRow(v bool) *Table { method BorderStyle (line 214) | func (t *Table) BorderStyle(style lipgloss.Style) *Table { method GetBorderTop (line 220) | func (t *Table) GetBorderTop() bool { method GetBorderBottom (line 225) | func (t *Table) GetBorderBottom() bool { method GetBorderLeft (line 230) | func (t *Table) GetBorderLeft() bool { method GetBorderRight (line 235) | func (t *Table) GetBorderRight() bool { method GetBorderHeader (line 240) | func (t *Table) GetBorderHeader() bool { method GetBorderColumn (line 245) | func (t *Table) GetBorderColumn() bool { method GetBorderRow (line 250) | func (t *Table) GetBorderRow() bool { method Width (line 257) | func (t *Table) Width(w int) *Table { method Height (line 263) | func (t *Table) Height(h int) *Table { method GetHeight (line 270) | func (t *Table) GetHeight() int { method YOffset (line 275) | func (t *Table) YOffset(o int) *Table { method GetYOffset (line 281) | func (t *Table) GetYOffset() int { method FirstVisibleRowIndex (line 286) | func (t *Table) FirstVisibleRowIndex() int { method LastVisibleRowIndex (line 291) | func (t *Table) LastVisibleRowIndex() int { method VisibleRows (line 296) | func (t *Table) VisibleRows() int { method Wrap (line 306) | func (t *Table) Wrap(w bool) *Table { method String (line 312) | func (t *Table) String() string { method computeHeight (line 371) | func (t *Table) computeHeight() int { method Render (line 379) | func (t *Table) Render() string { method constructTopBorder (line 385) | func (t *Table) constructTopBorder() string { method constructBottomBorder (line 404) | func (t *Table) constructBottomBorder() string { method constructHeaders (line 423) | func (t *Table) constructHeaders() string { method constructRow (line 484) | func (t *Table) constructRow(index int, isOverflow bool) string { method truncateCell (line 555) | func (t *Table) truncateCell(cell string, rowIndex, colIndex int) stri... function New (line 80) | func New() *Table { FILE: table/table_test.go function TestTable (line 23) | func TestTable(t *testing.T) { function TestTableWithBackground (line 37) | func TestTableWithBackground(t *testing.T) { function TestTableExample (line 55) | func TestTableExample(t *testing.T) { function TestTableEmpty (line 89) | func TestTableEmpty(t *testing.T) { function TestTableNoStyleFunc (line 98) | func TestTableNoStyleFunc(t *testing.T) { function TestTableYOffset (line 112) | func TestTableYOffset(t *testing.T) { function TestTableBorder (line 128) | func TestTableBorder(t *testing.T) { function TestTableSetRows (line 146) | func TestTableSetRows(t *testing.T) { function TestMoreCellsThanHeaders (line 163) | func TestMoreCellsThanHeaders(t *testing.T) { function TestMoreCellsThanHeadersExtra (line 180) | func TestMoreCellsThanHeadersExtra(t *testing.T) { function TestTableNoHeaders (line 198) | func TestTableNoHeaders(t *testing.T) { function TestTableNoColumnSeparators (line 211) | func TestTableNoColumnSeparators(t *testing.T) { function TestTableNoColumnSeparatorsWithHeaders (line 225) | func TestTableNoColumnSeparatorsWithHeaders(t *testing.T) { function TestInnerBordersOnly (line 240) | func TestInnerBordersOnly(t *testing.T) { function TestBorderColumnsWithExtraRows (line 260) | func TestBorderColumnsWithExtraRows(t *testing.T) { function TestNew (line 279) | func TestNew(t *testing.T) { function TestTableUnsetBorders (line 287) | func TestTableUnsetBorders(t *testing.T) { function TestTableUnsetHeaderSeparator (line 309) | func TestTableUnsetHeaderSeparator(t *testing.T) { function TestTableUnsetHeaderSeparatorWithBorder (line 332) | func TestTableUnsetHeaderSeparatorWithBorder(t *testing.T) { function TestTableRowSeparators (line 351) | func TestTableRowSeparators(t *testing.T) { function TestTableHeights (line 370) | func TestTableHeights(t *testing.T) { function TestTableMultiLineRowSeparator (line 396) | func TestTableMultiLineRowSeparator(t *testing.T) { function TestTableWidthExpand (line 419) | func TestTableWidthExpand(t *testing.T) { function TestTableWidthShrink (line 442) | func TestTableWidthShrink(t *testing.T) { function TestTableWidthSmartCrop (line 492) | func TestTableWidthSmartCrop(t *testing.T) { function TestTableWidthSmartCropExtensive (line 509) | func TestTableWidthSmartCropExtensive(t *testing.T) { function TestTableWidthSmartCropTiny (line 530) | func TestTableWidthSmartCropTiny(t *testing.T) { function TestTableWidths (line 549) | func TestTableWidths(t *testing.T) { function TestFilter (line 571) | func TestFilter(t *testing.T) { function TestFilterInverse (line 592) | func TestFilterInverse(t *testing.T) { function TestTableANSI (line 613) | func TestTableANSI(t *testing.T) { function TestTableHeightExact (line 633) | func TestTableHeightExact(t *testing.T) { function TestTableHeightExtra (line 648) | func TestTableHeightExtra(t *testing.T) { function TestTableHeightShrink (line 663) | func TestTableHeightShrink(t *testing.T) { function TestTableHeightWithYOffset (line 737) | func TestTableHeightWithYOffset(t *testing.T) { function TestStyleFunc (line 756) | func TestStyleFunc(t *testing.T) { function TestClearRows (line 810) | func TestClearRows(t *testing.T) { function TestContentWrapping (line 828) | func TestContentWrapping(t *testing.T) { function TestContentWrapping_WithPadding (line 928) | func TestContentWrapping_WithPadding(t *testing.T) { function TestContentWrapping_WithMargins (line 990) | func TestContentWrapping_WithMargins(t *testing.T) { function TestContentWrapping_WithHeight (line 1045) | func TestContentWrapping_WithHeight(t *testing.T) { function TestContentWrapping_ColumnWidth (line 1083) | func TestContentWrapping_ColumnWidth(t *testing.T) { function TestTableOverFlowNoWrap (line 1167) | func TestTableOverFlowNoWrap(t *testing.T) { function TestCarriageReturn (line 1196) | func TestCarriageReturn(t *testing.T) { function TestTableShrinkWithYOffset (line 1208) | func TestTableShrinkWithYOffset(t *testing.T) { function TestBorderStyles (line 1343) | func TestBorderStyles(t *testing.T) { function TestNoFinalEmptyRowWhenOverflow (line 1381) | func TestNoFinalEmptyRowWhenOverflow(t *testing.T) { function TestExtraPaddingHeading (line 1409) | func TestExtraPaddingHeading(t *testing.T) { function TestExtraPaddingHeadingLong (line 1426) | func TestExtraPaddingHeadingLong(t *testing.T) { function TestBorderedCells (line 1444) | func TestBorderedCells(t *testing.T) { function ExampleTable_Wrap (line 1463) | func ExampleTable_Wrap() { function TestWrapPreStyledContent (line 1558) | func TestWrapPreStyledContent(t *testing.T) { function TestWrapStyleFuncContent (line 1575) | func TestWrapStyleFuncContent(t *testing.T) { FILE: table/util.go function btoi (line 8) | func btoi(b bool) int { function bton (line 16) | func bton(b bool, n int) int { function sum (line 24) | func sum(n []int) int { function median (line 33) | func median(n []int) int { FILE: terminal.go function queryBackgroundColor (line 25) | func queryBackgroundColor(in io.Reader, out io.Writer) (c color.Color, e... constant defaultQueryTimeout (line 49) | defaultQueryTimeout = time.Second * 2 type queryTerminalFilter (line 54) | type queryTerminalFilter function queryTerminal (line 63) | func queryTerminal( FILE: tree/children.go type Children (line 6) | type Children interface type NodeChildren (line 15) | type NodeChildren method Append (line 18) | func (n NodeChildren) Append(child Node) NodeChildren { method Remove (line 24) | func (n NodeChildren) Remove(index int) NodeChildren { method Length (line 33) | func (n NodeChildren) Length() int { method At (line 38) | func (n NodeChildren) At(i int) Node { function NewStringData (line 46) | func NewStringData(data ...string) Children { type Filter (line 59) | type Filter struct method At (line 71) | func (m *Filter) At(index int) Node { method Filter (line 86) | func (m *Filter) Filter(f func(index int) bool) *Filter { method Length (line 92) | func (m *Filter) Length() int { function NewFilter (line 65) | func NewFilter(data Children) *Filter { FILE: tree/enumerator.go type Enumerator (line 15) | type Enumerator function DefaultEnumerator (line 23) | func DefaultEnumerator(children Children, index int) string { function RoundedEnumerator (line 36) | func RoundedEnumerator(children Children, index int) string { type Indenter (line 57) | type Indenter function DefaultIndenter (line 69) | func DefaultIndenter(children Children, index int) string { FILE: tree/example_test.go function ExampleLeaf_SetHidden (line 12) | func ExampleLeaf_SetHidden() { function ExampleNewLeaf (line 38) | func ExampleNewLeaf() { function ExampleLeaf_SetValue (line 68) | func ExampleLeaf_SetValue() { function ExampleTree_Hide (line 99) | func ExampleTree_Hide() { function ExampleTree_SetHidden (line 123) | func ExampleTree_SetHidden() { FILE: tree/renderer.go type StyleFunc (line 10) | type StyleFunc type Style (line 13) | type Style struct function newRenderer (line 21) | func newRenderer() *renderer { type renderer (line 39) | type renderer struct method render (line 47) | func (r *renderer) render(node Node, root bool, prefix string) string { FILE: tree/tree.go type Node (line 36) | type Node interface type Leaf (line 46) | type Leaf struct method Children (line 60) | func (Leaf) Children() Children { method Value (line 65) | func (s Leaf) Value() string { method SetValue (line 70) | func (s *Leaf) SetValue(value any) { method Hidden (line 82) | func (s Leaf) Hidden() bool { method SetHidden (line 87) | func (s *Leaf) SetHidden(hidden bool) { s.hidden = hidden } method String (line 91) | func (s Leaf) String() string { function NewLeaf (line 52) | func NewLeaf(value any, hidden bool) *Leaf { type Tree (line 96) | type Tree struct method Hidden (line 107) | func (t *Tree) Hidden() bool { method Hide (line 113) | func (t *Tree) Hide(hide bool) *Tree { method SetHidden (line 119) | func (t *Tree) SetHidden(hidden bool) { t.Hide(hidden) } method Offset (line 122) | func (t *Tree) Offset(start, end int) *Tree { method Value (line 143) | func (t *Tree) Value() string { method SetValue (line 148) | func (t *Tree) SetValue(value any) { method String (line 153) | func (t *Tree) String() string { method Child (line 169) | func (t *Tree) Child(children ...any) *Tree { method ensureRenderer (line 226) | func (t *Tree) ensureRenderer() *renderer { method EnumeratorStyle (line 234) | func (t *Tree) EnumeratorStyle(style lipgloss.Style) *Tree { method EnumeratorStyleFunc (line 251) | func (t *Tree) EnumeratorStyleFunc(fn StyleFunc) *Tree { method IndenterStyle (line 262) | func (t *Tree) IndenterStyle(style lipgloss.Style) *Tree { method IndenterStyleFunc (line 279) | func (t *Tree) IndenterStyleFunc(fn StyleFunc) *Tree { method RootStyle (line 288) | func (t *Tree) RootStyle(style lipgloss.Style) *Tree { method ItemStyle (line 296) | func (t *Tree) ItemStyle(style lipgloss.Style) *Tree { method ItemStyleFunc (line 311) | func (t *Tree) ItemStyleFunc(fn StyleFunc) *Tree { method Enumerator (line 325) | func (t *Tree) Enumerator(enum Enumerator) *Tree { method Indenter (line 351) | func (t *Tree) Indenter(indenter Indenter) *Tree { method Width (line 359) | func (t *Tree) Width(width int) *Tree { method Children (line 365) | func (t *Tree) Children() Children { method Root (line 386) | func (t *Tree) Root(root any) *Tree { function ensureParent (line 207) | func ensureParent(nodes Children, item *Tree) (*Tree, int) { function Root (line 380) | func Root(root any) *Tree { function New (line 403) | func New() *Tree { FILE: tree/tree_test.go function TestTree (line 14) | func TestTree(t *testing.T) { function TestTreeHidden (line 42) | func TestTreeHidden(t *testing.T) { function TestTreeAllHidden (line 60) | func TestTreeAllHidden(t *testing.T) { function TestTreeRoot (line 80) | func TestTreeRoot(t *testing.T) { function TestTreeStartsWithSubtree (line 93) | func TestTreeStartsWithSubtree(t *testing.T) { function TestTreeAddTwoSubTreesWithoutName (line 105) | func TestTreeAddTwoSubTreesWithoutName(t *testing.T) { function TestTreeLastNodeIsSubTree (line 132) | func TestTreeLastNodeIsSubTree(t *testing.T) { function TestTreeNil (line 146) | func TestTreeNil(t *testing.T) { function TestTreeCustom (line 163) | func TestTreeCustom(t *testing.T) { function TestTreeMultilineNode (line 198) | func TestTreeMultilineNode(t *testing.T) { function TestTreeSubTreeWithCustomEnumerator (line 221) | func TestTreeSubTreeWithCustomEnumerator(t *testing.T) { function TestTreeMixedEnumeratorSize (line 243) | func TestTreeMixedEnumeratorSize(t *testing.T) { function TestTreeStyleNilFuncs (line 267) | func TestTreeStyleNilFuncs(t *testing.T) { function TestTreeStyleAt (line 277) | func TestTreeStyleAt(t *testing.T) { function TestRootStyle (line 293) | func TestRootStyle(t *testing.T) { function TestAt (line 306) | func TestAt(t *testing.T) { function TestFilter (line 322) | func TestFilter(t *testing.T) { function TestNodeDataRemoveOutOfBounds (line 346) | func TestNodeDataRemoveOutOfBounds(t *testing.T) { function TestTreeTable (line 353) | func TestTreeTable(t *testing.T) { function TestAddItemWithAndWithoutRoot (line 378) | func TestAddItemWithAndWithoutRoot(t *testing.T) { function TestEmbedListWithinTree (line 404) | func TestEmbedListWithinTree(t *testing.T) { function TestMultilinePrefix (line 414) | func TestMultilinePrefix(t *testing.T) { function TestMultilinePrefixSubtree (line 434) | func TestMultilinePrefixSubtree(t *testing.T) { function TestMultilinePrefixInception (line 463) | func TestMultilinePrefixInception(t *testing.T) { function TestTypes (line 494) | func TestTypes(t *testing.T) { FILE: unset.go method unset (line 4) | func (s *Style) unset(key propKey) { method UnsetBold (line 9) | func (s Style) UnsetBold() Style { method UnsetItalic (line 15) | func (s Style) UnsetItalic() Style { method UnsetUnderline (line 21) | func (s Style) UnsetUnderline() Style { method UnsetStrikethrough (line 26) | func (s Style) UnsetStrikethrough() Style { method UnsetReverse (line 32) | func (s Style) UnsetReverse() Style { method UnsetBlink (line 38) | func (s Style) UnsetBlink() Style { method UnsetFaint (line 44) | func (s Style) UnsetFaint() Style { method UnsetForeground (line 50) | func (s Style) UnsetForeground() Style { method UnsetBackground (line 56) | func (s Style) UnsetBackground() Style { method UnsetWidth (line 62) | func (s Style) UnsetWidth() Style { method UnsetHeight (line 68) | func (s Style) UnsetHeight() Style { method UnsetAlign (line 74) | func (s Style) UnsetAlign() Style { method UnsetAlignHorizontal (line 81) | func (s Style) UnsetAlignHorizontal() Style { method UnsetAlignVertical (line 87) | func (s Style) UnsetAlignVertical() Style { method UnsetPadding (line 93) | func (s Style) UnsetPadding() Style { method UnsetPaddingChar (line 103) | func (s Style) UnsetPaddingChar() Style { method UnsetPaddingLeft (line 109) | func (s Style) UnsetPaddingLeft() Style { method UnsetPaddingRight (line 115) | func (s Style) UnsetPaddingRight() Style { method UnsetPaddingTop (line 121) | func (s Style) UnsetPaddingTop() Style { method UnsetPaddingBottom (line 127) | func (s Style) UnsetPaddingBottom() Style { method UnsetColorWhitespace (line 133) | func (s Style) UnsetColorWhitespace() Style { method UnsetMargins (line 139) | func (s Style) UnsetMargins() Style { method UnsetMarginLeft (line 148) | func (s Style) UnsetMarginLeft() Style { method UnsetMarginRight (line 154) | func (s Style) UnsetMarginRight() Style { method UnsetMarginTop (line 160) | func (s Style) UnsetMarginTop() Style { method UnsetMarginBottom (line 166) | func (s Style) UnsetMarginBottom() Style { method UnsetMarginBackground (line 174) | func (s Style) UnsetMarginBackground() Style { method UnsetBorderStyle (line 180) | func (s Style) UnsetBorderStyle() Style { method UnsetBorderTop (line 186) | func (s Style) UnsetBorderTop() Style { method UnsetBorderRight (line 192) | func (s Style) UnsetBorderRight() Style { method UnsetBorderBottom (line 198) | func (s Style) UnsetBorderBottom() Style { method UnsetBorderLeft (line 204) | func (s Style) UnsetBorderLeft() Style { method UnsetBorderForeground (line 210) | func (s Style) UnsetBorderForeground() Style { method UnsetBorderTopForeground (line 220) | func (s Style) UnsetBorderTopForeground() Style { method UnsetBorderRightForeground (line 227) | func (s Style) UnsetBorderRightForeground() Style { method UnsetBorderBottomForeground (line 234) | func (s Style) UnsetBorderBottomForeground() Style { method UnsetBorderLeftForeground (line 241) | func (s Style) UnsetBorderLeftForeground() Style { method UnsetBorderForegroundBlend (line 248) | func (s Style) UnsetBorderForegroundBlend() Style { method UnsetBorderForegroundBlendOffset (line 255) | func (s Style) UnsetBorderForegroundBlendOffset() Style { method UnsetBorderBackground (line 262) | func (s Style) UnsetBorderBackground() Style { method UnsetBorderTopBackgroundColor (line 274) | func (s Style) UnsetBorderTopBackgroundColor() Style { method UnsetBorderTopBackground (line 280) | func (s Style) UnsetBorderTopBackground() Style { method UnsetBorderRightBackground (line 287) | func (s Style) UnsetBorderRightBackground() Style { method UnsetBorderBottomBackground (line 294) | func (s Style) UnsetBorderBottomBackground() Style { method UnsetBorderLeftBackground (line 300) | func (s Style) UnsetBorderLeftBackground() Style { method UnsetInline (line 306) | func (s Style) UnsetInline() Style { method UnsetMaxWidth (line 312) | func (s Style) UnsetMaxWidth() Style { method UnsetMaxHeight (line 318) | func (s Style) UnsetMaxHeight() Style { method UnsetTabWidth (line 324) | func (s Style) UnsetTabWidth() Style { method UnsetUnderlineSpaces (line 330) | func (s Style) UnsetUnderlineSpaces() Style { method UnsetStrikethroughSpaces (line 336) | func (s Style) UnsetStrikethroughSpaces() Style { method UnsetTransform (line 342) | func (s Style) UnsetTransform() Style { method UnsetHyperlink (line 348) | func (s Style) UnsetHyperlink() Style { method UnsetString (line 356) | func (s Style) UnsetString() Style { FILE: whitespace.go type whitespace (line 10) | type whitespace struct method render (line 25) | func (w whitespace) render(width int) string { function newWhitespace (line 16) | func newWhitespace(opts ...WhitespaceOption) *whitespace { type WhitespaceOption (line 62) | type WhitespaceOption function WithWhitespaceStyle (line 65) | func WithWhitespaceStyle(s Style) WhitespaceOption { function WithWhitespaceChars (line 72) | func WithWhitespaceChars(s string) WhitespaceOption { FILE: whitespace_test.go function TestWhitespaceRenderWithTab (line 8) | func TestWhitespaceRenderWithTab(t *testing.T) { function TestWhitespaceRenderWithZeroWidthChar (line 27) | func TestWhitespaceRenderWithZeroWidthChar(t *testing.T) { function TestWhitespaceRenderNormal (line 45) | func TestWhitespaceRenderNormal(t *testing.T) { FILE: wrap.go function Wrap (line 12) | func Wrap(s string, width int, breakpoints string) string { type WrapWriter (line 26) | type WrapWriter struct method Style (line 55) | func (w *WrapWriter) Style() uv.Style { method Link (line 60) | func (w *WrapWriter) Link() uv.Link { method Write (line 65) | func (w *WrapWriter) Write(p []byte) (int, error) { method Close (line 95) | func (w *WrapWriter) Close() error { function NewWrapWriter (line 34) | func NewWrapWriter(w io.Writer) *WrapWriter { FILE: writer.go function Println (line 26) | func Println(v ...any) (int, error) { function Printf (line 40) | func Printf(format string, v ...any) (int, error) { function Print (line 53) | func Print(v ...any) (int, error) { function Fprint (line 67) | func Fprint(w io.Writer, v ...any) (int, error) { function Fprintln (line 81) | func Fprintln(w io.Writer, v ...any) (int, error) { function Fprintf (line 95) | func Fprintf(w io.Writer, format string, v ...any) (int, error) { function Sprint (line 110) | func Sprint(v ...any) string { function Sprintln (line 131) | func Sprintln(v ...any) string { function Sprintf (line 152) | func Sprintf(format string, v ...any) string {