console

package
v0.0.0-...-fc8a6bf Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ConsolePlain

func ConsolePlain() (in chan<- []byte, out <-chan []byte, err error)

func ConsoleRawExperimental

func ConsoleRawExperimental() (in chan<- []byte, out <-chan []byte, err error)

https://stackoverflow.com/a/58237997

func ConsoleRawSyscall

func ConsoleRawSyscall() (in chan<- []byte, out <-chan []byte, err error)

func CtrlKey

func CtrlKey(key byte) byte

CtrlKey makes a Ctrl-* combination from the input ASCII character.

func StdoutCooked

func StdoutCooked(stdout *os.File) (in chan<- []byte, err error)

Types

type InitFunc

type InitFunc func() (in chan<- []byte, out <-chan []byte, err error)

Jump to

Keyboard shortcuts

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