Documentation ¶
Overview ¶
Package view implements display-related functionality, such as data formatting and display updates (using termbox).
Index ¶
Constants ¶
View Source
const ( KB float64 = 1 << (10 * iota) MB GB TB )
Declare size interval constants.
Variables ¶
This section is empty.
Functions ¶
func Close ¶
func Close()
Close is used to relinquish the screen so that it can be used after the program exits.
func FormatRow ¶
FormatRow returns a string with the row's left/right elements placed at the far left/right with spaces in between.
func Initialize ¶
func Initialize()
Initialize prepares the screen for rendering, and should only be run once, before constructing a new view.
Types ¶
Click to show internal directories.
Click to hide internal directories.