xvt10x

package
v0.0.0-...-5a0513b Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Terminal

type Terminal struct {
	// contains filtered or unexported fields
}

func New

func New(onSetup func(tty *os.File), onResize func()) (Terminal, error)

func NewCmd

func NewCmd(cmd *exec.Cmd) (Terminal, error)

func (Terminal) Close

func (t Terminal) Close() error

func (Terminal) Render

func (t Terminal) Render(renderer *lipgloss.Renderer) string

func (Terminal) Resize

func (t Terminal) Resize(cols, rows uint16)

func (Terminal) Size

func (t Terminal) Size() (cols int, rows int)

Jump to

Keyboard shortcuts

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