pty

package
Version: v0.0.0-...-2d05422 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWinSize

func GetWinSize() (w int, h int, err error)

GetWinSize todo

func IsTerminal

func IsTerminal(fd *os.File) bool

IsTerminal todo

func MakeRaw

func MakeRaw(fd *os.File) (*term.State, error)

MakeRaw todo

func ReadInput

func ReadInput(reader io.Reader, unix bool) ([]byte, error)

ReadInput todo

func ReadInputEx

func ReadInputEx(fd *os.File) ([]byte, error)

ReadInputEx todo

func ReadPassword

func ReadPassword(prompt string) (string, error)

ReadPassword todo

Types

This section is empty.

Jump to

Keyboard shortcuts

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