termz

package
v0.48.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package termz contains a handful of terminal utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsColorTerminal

func IsColorTerminal(w io.Writer) bool

IsColorTerminal returns true if w is a colorable terminal. It respects NO_COLOR, FORCE_COLOR and TERM=dumb environment variables.

func IsTerminal

func IsTerminal(w io.Writer) bool

IsTerminal returns true if w is a terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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