Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heapwolf/go-termsize

Get the current size (width and height) of the terminal (nothing more!)
https://github.com/heapwolf/go-termsize

Last synced: 25 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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

# USAGE
```go
import "github.com/hij1nx/go-termSize"

func main() {

err, w, h := TermSize()

// ...do some math
}
```