rawmode

package
v0.0.0-...-0e5ea14 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enable

func Enable() ([]byte, error)

Enable switches the console from cooked or canonical mode to raw mode. It returns the current terminal settings for use in restoring console serlialized to a platform independent byte slice via gob

func GetWindowSize

func GetWindowSize() (*unix.Winsize, error)

func Restore

func Restore(original []byte) error

Restore restoes the console to a previous row setting

Types

This section is empty.

Jump to

Keyboard shortcuts

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