terminal

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: BSD-3-Clause, BSD-3-Clause Imports: 4 Imported by: 3

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