tty

package
v0.1.3-0...-08ec195 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: BSD-4-Clause Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandLine

type CommandLine struct {
	Command string
}

type Environ

type Environ struct {
	Key   string
	Value string
}

type ExitStatus

type ExitStatus struct {
	Status uint32
}

type Pty

type Pty struct {
	Term     string
	Columns  uint32
	Rows     uint32
	Width    uint32
	Height   uint32
	Modelist string
}

Pty represents a PTY request and configuration.

func (*Pty) ToTermInfo

func (p *Pty) ToTermInfo() *TermInfo

func (*Pty) ToWindow

func (p *Pty) ToWindow() *Window

type TermInfo

type TermInfo struct {
	Term     string
	Cols     uint32
	Rows     uint32
	Modelist string
}

func (*TermInfo) TermMap

func (i *TermInfo) TermMap() (mode map[uint8]uint32)

func (*TermInfo) ToPty

func (i *TermInfo) ToPty() *Pty

func (*TermInfo) ToWindow

func (i *TermInfo) ToWindow() *Window

type Window

type Window struct {
	Columns uint32
	Rows    uint32
	Width   uint32
	Height  uint32
}

Window represents the size of a PTY window.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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