File: README.md

package info (click to toggle)
golang-github-google-goterm 0.0~git20200907.555d40f-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 184 kB
  • sloc: makefile: 4
file content (26 lines) | stat: -rw-r--r-- 543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[![CircleCI](https://circleci.com/gh/google/goterm.svg?style=svg)](https://circleci.com/gh/google/goterm)

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