termSize

package module
v0.0.0-...-7dd4e6e Latest Latest
Warning

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

Go to latest
Published: May 3, 2015 License: MIT Imports: 4 Imported by: 0

README

SYNOPSIS

Get the width and height of the terminal (nothing more!)

USAGE

import "github.com/hij1nx/go-termSize"

func main() {

  err, w, h := TermSize()

  // ...do some math
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TermSize

func TermSize() (error, int, int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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