Skip to content

google/goterm

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CircleCI

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"))
}