Categorygithub.com/wsxiaoys/terminal
modulepackage
0.0.0-20160513160801-0940f3fc43a0
Repository: https://github.com/wsxiaoys/terminal.git
Documentation: pkg.go.dev

# README

Terminal

Terminal is a simple golang package that provides basic terminal handling.

Terminal wraps color/format functions provided by ANSI escape code

Usage

package main

import (
  "github.com/wsxiaoys/terminal"
  "github.com/wsxiaoys/terminal/color"
)

func main() {
  terminal.Stdout.Color("y").
    Print("Hello world").Nl().
    Reset().
    Colorf("@{kW}Hello world\n")

  color.Print("@rHello world")
}

Check the godoc result for more details.

# Packages

The colors package provide a simple way to bring colorful characters to terminal interface.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author