renderers

package
v0.0.0-...-41e44c1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

BulletTree outputs a list like:

├─ one ├─ two │ wrapped └─ three

View Source
var BulletTreeDisabled = Bullets{
	"[DISABLED]" + output.TreeMid + "[/RESET]",
	"[DISABLED]" + output.TreeMid + "[/RESET]",
	"[DISABLED]" + output.TreeLink + " [/RESET]",
	"[DISABLED]" + output.TreeEnd + "[/RESET]",
}

BulletTreeDisabled is like BulletTree, but tags the tree glyphs with [DISABLED].

View Source
var HeadedBulletTree = Bullets{"", output.TreeMid, output.TreeLink + " ", output.TreeEnd}

HeadedBulletTree outputs a list like:

one ├─ two │ wrapped └─ three

Functions

func NewBulletList

func NewBulletList(prefix string, bullets Bullets, items []string) *bulletList

Types

type Bullets

type Bullets struct {
	Start string
	Mid   string
	Link  string
	End   string
}

Jump to

Keyboard shortcuts

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