util

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsUpper

func ContainsUpper(query string) bool

func Homedir

func Homedir() (string, error)

func IsTty

func IsTty(fd uintptr) bool

IsTty checks if the given fd is a tty

func StripANSISequence

func StripANSISequence(s string) string

Function who strips ansi sequences

func TtyReady

func TtyReady() error

TtyReady checks if the tty is ready to go

func TtyTerm

func TtyTerm()

TtyTerm restores any state, if necessary

Types

This section is empty.

Jump to

Keyboard shortcuts

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