term

package
v0.0.0-...-16fbdda Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPiped

func IsPiped(stdin *os.File) bool

IsPiped tells if the given file (typically STDIN) is connected to a pipe.

func IsTerm

func IsTerm(f *os.File) bool

func Size

func Size(f *os.File) (int, int)

Types

type Term

type Term interface {
	Mark(f *os.File) error
}

func New

func New(stdout *os.File) Term

Jump to

Keyboard shortcuts

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