terminal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

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(w io.Writer) bool

IsTerminal reports whether "w" writes to a terminal device.

The ioctl request differs per platform; see the terminal_ioctl_*.go files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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