term

package
v0.0.0-...-dc3d092 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Blue string = "\033[34m"
View Source
var Bold string = "\033[1m"
View Source
var CharBell = []byte(fmt.Sprintf("%c", readline.CharBell))[0]
View Source
var Cyan string = "\033[36m"
View Source
var Gray string = "\033[97m"
View Source
var Green string = "\033[32m"
View Source
var NoBellStdout = &noBellStdout{}
View Source
var Purple string = "\033[35m"
View Source
var Red string = "\033[31m"
View Source
var Reset string = "\033[0m"
View Source
var Stderr = readline.Stderr
View Source
var Stdout = readline.Stdout
View Source
var Yellow string = "\033[33m"

Functions

func InitTerm

func InitTerm(colors bool)

func Print

func Print(a ...interface{}) (n int, err error)

func PrintErr

func PrintErr(s string)

PrintErr func

func PrintInfo

func PrintInfo(s string)

PrintInfo func

func PrintWarn

func PrintWarn(s string)

PrintWarn func

func Println

func Println(a ...interface{}) (n int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL