conpty

package
v0.0.0-...-7ae29b8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConPty

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

ConPty represents a windows pseudo console.

func New

func New(columns int16, rows int16) (*ConPty, error)

New returns a new ConPty pseudo terminal device

func (*ConPty) Close

func (c *ConPty) Close() error

Close closes the pseudo-terminal and cleans up all attached resources

func (*ConPty) InPipe

func (c *ConPty) InPipe() *os.File

InPipe returns input pipe of the pseudo terminal Note: It is safer to use the Write method to prevent partially-written VT sequences from corrupting the terminal

func (*ConPty) OutPipe

func (c *ConPty) OutPipe() *os.File

OutPipe returns the output pipe of the pseudo terminal

func (*ConPty) Resize

func (c *ConPty) Resize(cols uint16, rows uint16) error

Jump to

Keyboard shortcuts

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