tty10pe

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tty

type Tty struct {
	OnPrefix func(string)
	// contains filtered or unexported fields
}

func (*Tty) Close

func (tt *Tty) Close() error

func (*Tty) GetKey

func (tt *Tty) GetKey() (key string, err error)

func (*Tty) IsOpen added in v0.7.0

func (tt *Tty) IsOpen() bool

func (*Tty) Open

func (tt *Tty) Open(onResize func(int, int)) (err error)

func (*Tty) SetOnPrefix added in v0.4.0

func (m *Tty) SetOnPrefix(f func(string)) (original func(string))

func (*Tty) Size

func (tt *Tty) Size() (int, int, error)

Jump to

Keyboard shortcuts

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