package term

import "github.com/inconshreveable/log15/term"

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

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.

Source Files

doc.go terminal_linux.go terminal_notwindows.go

Version
v2.16.0+incompatible (latest)
Published
Nov 22, 2022
Platform
linux/amd64
Imports
2 packages
Last checked
6 days ago

Tools for package owners.