Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoTermSize = errors.New("Can't get terminal size.")
)
Functions ¶
func CursorUp ¶
CursorUp returns the escape code to set the cursor n lines before the current position.
func GetColumns ¶
GetColumns returns the column count based on a string passed. Supported formats: 20% (relative to term width) 0.2 (relative to term width) 20 (columns)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.