terminal

package
v0.0.0-...-63333ca Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SetSize       = pty.Setsize
	StartWithSize = pty.StartWithSize
)

Functions

func IsTTY

func IsTTY() bool

func MakeRaw

func MakeRaw() (func(), error)

func OnResize

func OnResize(f func(ts *Size)) func()

Types

type Size

type Size = pty.Winsize

func GetSize

func GetSize() *Size

Jump to

Keyboard shortcuts

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