event

package
v0.0.0-...-ee607de Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyU
	KeyM
	KeyB
	KeyH

	KeyR
	KeyS
	KeyQ
)

Variables

This section is empty.

Functions

func EmitKeyEvent

func EmitKeyEvent(fd int, ch chan Event)

Types

type Buffer

type Buffer []byte

type Event

type Event struct {
	T   Key
	Buf []byte
}

type Key

type Key int

Jump to

Keyboard shortcuts

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