terminal

package
v0.0.0-...-509ffec Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Size = func() (width int, height int, err error) {
	return systerm.GetSize(0)
}

Size returns the dimensions of the terminal. This function can be overriden for test cases as system calls fail with "operation not supported" in test environments

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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