log15: github.com/inconshreveable/log15/term Index | Files

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.


Package Files

doc.go terminal_linux.go terminal_notwindows.go

func IsTty Uses

func IsTty(fd uintptr) bool

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

type Termios Uses

type Termios syscall.Termios

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

Package term imports 2 packages (graph) and is imported by 60 packages. Updated 2017-10-19. Refresh now. Tools for package owners.