terminal

package
v0.0.0-...-519a78f Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNavKeyCalculatedValue

func GetNavKeyCalculatedValue(key Key, pos int, size int) int

func GetPathEntries

func GetPathEntries(path string, allowDot bool) ([]render.Entry, error)

func Split

func Split(data []byte, atEOF bool) (advance int, token []byte, err error)

type SplitFunc func(data []byte, atEOF bool) (advance int, token []byte, err error)

Types

type Key

type Key struct {
	PayloadByte byte
	// contains filtered or unexported fields
}

func (Key) IsHotKey

func (k Key) IsHotKey() bool

func (Key) ToString

func (k Key) ToString() string

type Terminal_reader

type Terminal_reader struct {
}

func (Terminal_reader) Reader

func (tr Terminal_reader) Reader() (Key, error)

Jump to

Keyboard shortcuts

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