Go Terminal library with PTY support and colors
Last updated Jul 29, 2025
216
Stars
35
Forks
4
Issues
0
Stars/day
Attention Score
31
Language breakdown
Go 100.0%
โธ Files
click to expand
README
The term package implements PTY creation and termios get/set attributes. It also contains some convenience functions for colors, SSH <> termios translations, readCh , reading passwords etc.
The PTY and termios parts are Linux specific.
Get the code
go get github.com/google/goterm/term
##
package main
import ( "fmt"
"github.com/google/goterm/term" )
func main() { fmt.Println(term.Blue("Hello blue world")) }
๐ More in this category