goterm

module
v0.0.0-...-555d40f Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: BSD-3-Clause

README

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

Directories

Path Synopsis
Package term implements a subset of the C termios library to interface with Terminals.
Package term implements a subset of the C termios library to interface with Terminals.

Jump to

Keyboard shortcuts

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