Replace golang.org/x/crypto/ssh/terminal with golang.org/x/term (#2395)

See https://github.com/golang/go/issues/31044
This commit is contained in:
Mitsuo Heijo authored and GitHub committed 2021-03-20 14:38:34 +09:00
1 parent 8edfd14a37
commit 2e353aee96
4 files changed
+14 -23

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@ import (
"github.com/junegunn/fzf/src/util"
"golang.org/x/crypto/ssh/terminal"
"golang.org/x/term"
)
const (
@@ -74,7 +74,7 @@ type LightRenderer struct {
clickY []int
ttyin *os.File
buffer []byte
origState *terminal.State
origState *term.State
width int
height int
yoffset int