spruce
Table Of Contents
Intro
Go library for controlling the terminal using escape codes.
License
The goescape is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3.
Learn
Module
For more information about the module, use the link.
Use
Print "example" in red:
fmt.Printf("%sexample%s\n", goescape.Color().Foreground.Red, goescape.Color().Foreground.Reset))
or
set := goescape.New(goescape.Color().Foreground.Red)
fmt.Printf("%sexample%s\n", set.String(), goescape.Color().Foreground.Reset)
Start
Get
To get, execute the command:
~ $ go get -v notabug.org/_percival/goescape@latest
Update
To update, execute the command:
~ $ go get -u -v notabug.org/_percival/goescape@latest