Fix Link
1 file changed
tree: 3459d5d40d61b46586d0270a205582962f19c3e4
  1. .travis.yml
  2. doc.go
  3. LICENCE
  4. README.md
  5. ts.go
  6. ts_darwin.go
  7. ts_linux.go
  8. ts_other.go
  9. ts_test.go
  10. ts_unix.go
  11. ts_windows.go
  12. ts_x.go
README.md

ts

[Views in the last 24 hours]]

Simple go Application to get Terminal Size Run go get github.com/olekukonko/ts to download, build, and

Example

	size , _  := GetSize()
	fmt.Println(size.Col())     // Get Width
	fmt.Println(size.Row())     // Get Height
	fmt.Println(size.PosX())    // Get X Position
	fmt.Println(size.PosY())    // Get Y Position