Documentation ¶
Overview ¶
Package terminalui provides interface for display handlers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Display ¶
type Display interface {
DisplayEvents()
}
Display is the interface with the function for displaying events.
func NewDisplay ¶
func NewDisplay() Display
NewDisplay will select a display handler based on the environment.
Directories ¶
Path | Synopsis |
---|---|
Package component provides all components for formatting the display.
|
Package component provides all components for formatting the display. |
eventhandler
Package eventhandler will provide all functions to handle the events
|
Package eventhandler will provide all functions to handle the events |
frame
Package frame is a simple implementation on switching across cursor on terminal, based on ANSI.
|
Package frame is a simple implementation on switching across cursor on terminal, based on ANSI. |
progressformatter
Package progressformatter is an implementation based on github.com/wagoodman/go-progress/simple
|
Package progressformatter is an implementation based on github.com/wagoodman/go-progress/simple |
spinner
Package spinner is a simple implementation of spinner component
|
Package spinner is a simple implementation of spinner component |
Package dynamicui provides display handler for dynamic progress bar in the terminal
|
Package dynamicui provides display handler for dynamic progress bar in the terminal |
Package plainui provides display handler for generic terminal
|
Package plainui provides display handler for generic terminal |
Click to show internal directories.
Click to hide internal directories.