term

package
v2.16.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package term provides utilities for working with terminals.

Deprecated: This package is no longer used by log15. Please use github.com/mattn/go-isatty instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTty

func IsTty(fd uintptr) bool

IsTty returns true if the given file descriptor is a terminal.

Types

type Termios

type Termios syscall.Termios

Termios functions describe a general terminal interface that is provided to control asynchronous communications ports.

Jump to

Keyboard shortcuts

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