Skip to content

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

License

Notifications You must be signed in to change notification settings

heapwolf/go-termsize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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
}

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages