termios

package
v0.0.540 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableVirtualTerminalProcessing added in v0.0.540

func EnableVirtualTerminalProcessing(fd uintptr) error

EnableVirtualTerminalProcessing is a no-op outside Windows, where terminals interpret ANSI escape sequences natively.

func IsTerm

func IsTerm(fd uintptr) bool

func MakeRaw

func MakeRaw(fd uintptr) (func() error, error)

func NotifyWindowSize

func NotifyWindowSize(ch chan<- os.Signal)

Types

type WinSize

type WinSize struct {
	Width  uint16
	Height uint16
}

func TermSize

func TermSize(fd uintptr) (WinSize, error)

Jump to

Keyboard shortcuts

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