tcelltty

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TTYTCell added in v0.0.5

type TTYTCell struct {
	tcell.Tty
	// contains filtered or unexported fields
}

func New

func New(ttyFile string) (*TTYTCell, error)

func (*TTYTCell) Close added in v0.0.5

func (t *TTYTCell) Close() error

Close ...

func (*TTYTCell) Read added in v0.0.5

func (t *TTYTCell) Read(p []byte) (n int, err error)

func (*TTYTCell) SizePixel added in v0.0.5

func (t *TTYTCell) SizePixel() (cw int, ch int, pw int, ph int, e error)

SizePixel() requires initiating the tcell.Screen via .TCellScreen() first.

func (*TTYTCell) TCellScreen added in v0.0.5

func (t *TTYTCell) TCellScreen() (tcell.Screen, error)

tcell.Screen requires calling .Fini() at end of usage

func (*TTYTCell) TTYDevName added in v0.0.5

func (t *TTYTCell) TTYDevName() string

func (*TTYTCell) Write added in v0.0.5

func (t *TTYTCell) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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