term

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDims

func ParseDims(b []byte) (uint32, uint32)

ParseDims extracts terminal dimensions (width x height) from the provided buffer.

func ParseKeyValue

func ParseKeyValue(b []byte) (key, value string)

func ParseValue

func ParseValue(b []byte) (value string)

func SetWinSz

func SetWinSz(fd uintptr, w, h uint32) (err error)

SetWinSz sets the width and height for the given tty fd

Types

This section is empty.

Jump to

Keyboard shortcuts

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