Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultUi ¶
type DefaultUi struct {
// foreground color.
Fg termbox.Attribute
// background color.
Bg termbox.Attribute
// alert string.
AlertString string
}
func (*DefaultUi) PrintLine ¶
given a string, this func print them to the terminal, return the total width of the string.
func (*DefaultUi) PrintLines ¶
a function to print N slices to the screen.
Click to show internal directories.
Click to hide internal directories.