Documentation
¶
Overview ¶
Package term holds small terminal-output helpers shared by pkg/cli's progress and spinner packages.
Index ¶
Constants ¶
View Source
const ClearLine = "\r\033[K"
ClearLine is the ANSI escape sequence that returns the cursor to the start of the current line and erases it, used to redraw a status line in place.
Variables ¶
This section is empty.
Functions ¶
func IsTerminal ¶
IsTerminal reports whether f is connected to a terminal.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.