Documentation
¶
Index ¶
- func InitTerminal() (*term.State, error)
- func RestoreTerminal(state *term.State) error
- type Choice
- type Printer
- func (p Printer) BgWhite(s string) Printer
- func (p Printer) Blue(s string) Printer
- func (p Printer) ClearLine() Printer
- func (p Printer) ClearScreen() Printer
- func (p Printer) CursorRight(chars int) Printer
- func (p Printer) CursorStartOfLine() Printer
- func (p Printer) Gray(s string) Printer
- func (p Printer) Green(s string) Printer
- func (p Printer) HideCursor() Printer
- func (p Printer) NewLine() Printer
- func (p Printer) Print(s string) Printer
- func (p Printer) RestoreCursor() Printer
- func (p Printer) SaveCursor() Printer
- func (p Printer) ShowCursor() Printer
- func (p Printer) Yellow(s string) Printer
- type Selection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTerminal ¶
func RestoreTerminal ¶
Types ¶
type Printer ¶
type Printer struct { }
func (Printer) ClearScreen ¶
func (Printer) CursorRight ¶
func (Printer) CursorStartOfLine ¶
func (Printer) HideCursor ¶
func (Printer) RestoreCursor ¶
func (Printer) SaveCursor ¶
func (Printer) ShowCursor ¶
Click to show internal directories.
Click to hide internal directories.