Documentation ¶
Index ¶
- func ClearScreen()
- func GetTerminalSize() (int, int, error)
- func IsArt(path string) bool
- func IsITerm2() bool
- func IsSsh() bool
- func IsStdoutTerminal() bool
- func Osc52(d []byte)
- func PrintANSIArt(r io.Reader) error
- func PrintArt(r io.Reader)
- func PrintITerm2Art(r io.Reader) error
- func SupportedColors() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearScreen ¶
func ClearScreen()
func GetTerminalSize ¶
func IsStdoutTerminal ¶
func IsStdoutTerminal() bool
func PrintANSIArt ¶
func PrintArtFromURL(url string) { fmt.Println() if IsITerm2() { printITerm2ArtFromURL(url) } else { printANSIArtFromURL(url) } fmt.Println()
}
func PrintITerm2Art ¶
func SupportedColors ¶
func SupportedColors() uint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.