internal/

directory
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2019 License: Apache-2.0

README

Internal termdash libraries

The packages under this directory are private to termdash. Stability of the private packages isn't guaranteed and changes won't be backward compatible.

Directories

Path Synopsis
Package alignfor provides functions that align elements.
Package alignfor provides functions that align elements.
Package area provides functions working with image areas.
Package area provides functions working with image areas.
Package attrrange simplifies tracking of attributes that apply to a range of items.
Package attrrange simplifies tracking of attributes that apply to a range of items.
Package button implements a state machine that tracks mouse button clicks.
Package button implements a state machine that tracks mouse button clicks.
Package canvas defines the canvas that the widgets draw on.
Package canvas defines the canvas that the widgets draw on.
braille
Package braille provides a canvas that uses braille characters.
Package braille provides a canvas that uses braille characters.
braille/testbraille
Package testbraille provides helpers for tests that use the braille package.
Package testbraille provides helpers for tests that use the braille package.
buffer
Package buffer implements a 2-D buffer of cells.
Package buffer implements a 2-D buffer of cells.
testcanvas
Package testcanvas provides helpers for tests that use the canvas package.
Package testcanvas provides helpers for tests that use the canvas package.
Package draw provides functions that draw lines, shapes, etc on 2-D terminal like canvases.
Package draw provides functions that draw lines, shapes, etc on 2-D terminal like canvases.
testdraw
Package testdraw provides helpers for tests that use the draw package.
Package testdraw provides helpers for tests that use the draw package.
Package event provides a non-blocking event distribution and subscription system.
Package event provides a non-blocking event distribution and subscription system.
eventqueue
Package eventqueue provides an unboud FIFO queue of events.
Package eventqueue provides an unboud FIFO queue of events.
testevent
Package testevent provides utilities for tests that deal with concurrent events.
Package testevent provides utilities for tests that deal with concurrent events.
Package faketerm is a fake implementation of the terminal for the use in tests.
Package faketerm is a fake implementation of the terminal for the use in tests.
Package fakewidget implements a fake widget that is useful for testing the termdash infrastructure.
Package fakewidget implements a fake widget that is useful for testing the termdash infrastructure.
Package numbers implements various numerical functions.
Package numbers implements various numerical functions.
trig
Package trig implements various trigonometrical calculations.
Package trig implements various trigonometrical calculations.
Package runewidth is a wrapper over github.com/mattn/go-runewidth which gives different treatment to certain runes with ambiguous width.
Package runewidth is a wrapper over github.com/mattn/go-runewidth which gives different treatment to certain runes with ambiguous width.
Package segdisp provides utilities used by all segment display types.
Package segdisp provides utilities used by all segment display types.
dotseg
Package dotseg simulates a segment display that can draw dots.
Package dotseg simulates a segment display that can draw dots.
dotseg/testdotseg
Package testdotseg provides helpers for tests that use the dotseg package.
Package testdotseg provides helpers for tests that use the dotseg package.
segment
Package segment provides functions that draw a single segment.
Package segment provides functions that draw a single segment.
segment/testsegment
Package testsegment provides helpers for tests that use the segment package.
Package testsegment provides helpers for tests that use the segment package.
sixteen
Package sixteen simulates a 16-segment display drawn on a canvas.
Package sixteen simulates a 16-segment display drawn on a canvas.
sixteen/testsixteen
Package testsixteen provides helpers for tests that use the sixteen package.
Package testsixteen provides helpers for tests that use the sixteen package.
Package wrap implements line wrapping at character or word boundaries.
Package wrap implements line wrapping at character or word boundaries.

Jump to

Keyboard shortcuts

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