terminal

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: BSD-3-Clause, BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportColors = true

SupportColors reports whether a windows terminal platform can support 256 colors. See terminal_windows.go#init for further details.

Functions

func IsTerminal

func IsTerminal(f io.Writer) bool

IsTerminal returns true if stderr's file descriptor is a terminal.

Types

type Termios

type Termios syscall.Termios

Jump to

Keyboard shortcuts

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