keyin

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() (string, error)

func Raw

func Raw() (func(), error)

Raw switches the terminal to the raw mode. To restore it the cooked mode, the function given with the first return value has to be called. It is the wrapper of `term.MakeRow(int(os.Stdin.Fd()))` and `term.Restore(int(os.Stdin.Fd()),...)`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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