diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2022-02-04 12:08:41 +0000 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-02-10 13:55:04 -0500 |
commit | d62a0204d4df0145e201038d9af62e887d8afe6a (patch) | |
tree | d23d3c24729582580791496bef79fb08fb0c2169 /vendor/github.com/buger/goterm/terminal.go | |
parent | bcd5f5ead7b432f8a5f6c5438b5aa81134718c12 (diff) | |
download | podman-d62a0204d4df0145e201038d9af62e887d8afe6a.tar.gz podman-d62a0204d4df0145e201038d9af62e887d8afe6a.tar.bz2 podman-d62a0204d4df0145e201038d9af62e887d8afe6a.zip |
Bump github.com/buger/goterm from 1.0.1 to 1.0.4
Bumps [github.com/buger/goterm](https://github.com/buger/goterm) from 1.0.1 to 1.0.4.
- [Release notes](https://github.com/buger/goterm/releases)
- [Commits](https://github.com/buger/goterm/compare/v1.0.1...v1.0.4)
---
updated-dependencies:
- dependency-name: github.com/buger/goterm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/buger/goterm/terminal.go')
-rw-r--r-- | vendor/github.com/buger/goterm/terminal.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/vendor/github.com/buger/goterm/terminal.go b/vendor/github.com/buger/goterm/terminal.go index 1ba6493ad..d1e82085e 100644 --- a/vendor/github.com/buger/goterm/terminal.go +++ b/vendor/github.com/buger/goterm/terminal.go @@ -199,15 +199,6 @@ func Width() int { return int(ws.Col) } -// Height gets console height -func Height() int { - ws, err := getWinsize() - if err != nil { - return -1 - } - return int(ws.Row) -} - // CurrentHeight gets current height. Line count in Screen buffer. func CurrentHeight() int { return strings.Count(Screen.String(), "\n") |