Use golang.org/x/term

The golang.org/x/crypto/ssh/terminal package is deprecated and merely a
wrapper around golang.org/x/term. Use the latter directly and avoid the
dependency on the former altogether.
This commit is contained in:
Tobias Klauser
2021-04-29 14:24:25 +02:00
committed by Christian Muehlhaeuser
parent b9e853eb2d
commit 295f7bd246
6 changed files with 17 additions and 27 deletions

4
go.mod
View File

@@ -7,6 +7,6 @@ require (
github.com/mattn/go-isatty v0.0.12
github.com/muesli/reflow v0.2.1-0.20210115123740-9e1d0d53df68
github.com/muesli/termenv v0.8.1
golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee
golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
golang.org/x/term v0.0.0-20210422114643-f5beecf764ed
)