cli / go-gh

A Go module for interacting with gh and the GitHub API from the command line.
https://pkg.go.dev/github.com/cli/go-gh/v2
MIT License
322 stars 45 forks source link

Correctly measure terminal size in GH_FORCE_TTY mode #86

Closed mislav closed 1 year ago

mislav commented 1 year ago

This fixes measuring terminal size from the process even if stdout was redirected to a script or file.