commit | 555d40f16ae2fad8b4429d18d5cb777e75e5a9dc | [log] [tgz] |
---|---|---|
author | Ola Karlsson <skalle.karlsson@gmail.com> | Mon Sep 07 03:23:37 2020 |
committer | GitHub <noreply@github.com> | Mon Sep 07 03:23:37 2020 |
tree | 054887d358576c75af95af050f2c6ce0f85e4761 | |
parent | 22355edf59571d45990c5633de34bcc413ecffc6 [diff] | |
parent | fbc1ce5ddb8c770b2f9bacafe0817cba2efdc2d9 [diff] |
Merge pull request #8 from google/revert-7-support-darwin Revert "support macos"
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.
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")) }