termsession

package
v1.7.6-0...-3630f58 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TermSession

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

TermSession to use on the shell.

func New

func New(shell *gosocketio.Namespace) *TermSession

New terminal session.

func (*TermSession) Resize

func (t *TermSession) Resize()

Resize the terminal session if proportions changed.

func (*TermSession) Restore

func (t *TermSession) Restore() error

Restore the terminal connected (close).

func (*TermSession) Start

func (t *TermSession) Start(ctx context.Context, tty bool) (err error)

Start terminal session.

Jump to

Keyboard shortcuts

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