package
0.20.0
Repository: https://github.com/mum4k/termdash.git
Documentation: pkg.go.dev

# Packages

Package testsixteen provides helpers for tests that use the sixteen package.

# Functions

AllSegments returns all 16 segments in an undefined order.
CellOpts sets the cell options on the cells that contain the segment display.
New creates a new segment display.
NewAttributes calculates attributes needed to place the segments for the provided pixel area.
Sanitize returns a copy of the string, replacing all unsupported characters with a space character.
SupportsChars asserts whether the display supports all runes in the provided string.

# Constants

A1 is a segment, see the diagram above.
A2 is a segment, see the diagram above.
B is a segment, see the diagram above.
C is a segment, see the diagram above.
D1 is a segment, see the diagram above.
D2 is a segment, see the diagram above.
E is a segment, see the diagram above.
F is a segment, see the diagram above.
G1 is a segment, see the diagram above.
G2 is a segment, see the diagram above.
H is a segment, see the diagram above.
J is a segment, see the diagram above.
K is a segment, see the diagram above.
L is a segment, see the diagram above.
M is a segment, see the diagram above.
N is a segment, see the diagram above.

# Structs

Attributes contains attributes needed to draw the segment display.
Display represents the segment display.

# Interfaces

Option is used to provide options.

# Type aliases

Segment represents a single segment in the display.