uroottty

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 TTYURoot

type TTYURoot struct {
	*termios.TTYIO
	// contains filtered or unexported fields
}

func New

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

func (*TTYURoot) Close

func (t *TTYURoot) Close() error

Close ...

func (*TTYURoot) Read

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

func (*TTYURoot) SizePixel

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

func (*TTYURoot) TTYDevName

func (t *TTYURoot) TTYDevName() string

func (*TTYURoot) Write

func (t *TTYURoot) 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