tstea

package
v0.0.0-...-52eac44 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WishMiddleware

func WishMiddleware(ctx context.Context, lc *local.Client, newModel NewSshModel, newProg mpty.NewClientProgram) wish.Middleware

Types

type TeaTYFactory

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

func NewTeaTYFactory

func NewTeaTYFactory(ctx context.Context, ts *local.Client, newModel NewHttpModel, newProg mpty.NewClientProgram) *TeaTYFactory

func (*TeaTYFactory) Name

func (*TeaTYFactory) Name() string

func (*TeaTYFactory) New

func (f *TeaTYFactory) New(ctx context.Context, params map[string][]string, conn *websocket.Conn) (server.Slave, error)

type TeaTYProgram

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

func (*TeaTYProgram) Close

func (t *TeaTYProgram) Close() error

func (*TeaTYProgram) Read

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

func (*TeaTYProgram) ResizeTerminal

func (t *TeaTYProgram) ResizeTerminal(width, height int) error

func (*TeaTYProgram) WindowTitleVariables

func (t *TeaTYProgram) WindowTitleVariables() map[string]any

func (*TeaTYProgram) Write

func (t *TeaTYProgram) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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