term

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const EOT = 0x4

Variables

This section is empty.

Functions

func DisableEcho

func DisableEcho(fd int) error

func IsTerminal added in v0.1.1

func IsTerminal(fd int) bool

func Restore

func Restore(fd int, state *State) error

Types

type State

type State struct {
	// contains filtered or unexported fields
}

func GetState

func GetState(fd int) (*State, error)

func MakeRaw

func MakeRaw(fd int) (*State, error)

func (State) Copy

func (s State) Copy() State

Jump to

Keyboard shortcuts

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