Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromLines ¶
func FromLines(s string) *vt100screen.VT100
FromLines generates a VT100 from content text. Each line must have the same number of runes.
func FromLinesAndFormats ¶
func FromLinesAndFormats(s string, a [][]vt100screen.Format) *vt100screen.VT100
FromLinesAndFormats generates a *VT100 whose state is set according to s (for content) and a (for attributes).
Dimensions are set to the width of s' first line and the height of the number of lines in s.
If a is nil, the default attributes are used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.