m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

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
2021-03-20 14:38:34 +09:00
committed by GitHub
parent 8edfd14a37
commit 2e353aee96
4 changed files with 14 additions and 23 deletions

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