From 5b764758dd41f2757f6a2b42e150d4ef95332c0d Mon Sep 17 00:00:00 2001 From: harveyshao Date: Mon, 8 Aug 2022 10:22:56 +0800 Subject: [PATCH] opt some --- misc/ssh/service_darwin.go | 2 +- misc/ssh/service_linux.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/ssh/service_darwin.go b/misc/ssh/service_darwin.go index 69ce4c93..e055000e 100644 --- a/misc/ssh/service_darwin.go +++ b/misc/ssh/service_darwin.go @@ -7,7 +7,7 @@ import ( "syscall" "unsafe" - "github.com/creack/pty" + pty "shylinux.com/x/creackpty" "golang.org/x/crypto/ssh" ice "shylinux.com/x/icebergs" "shylinux.com/x/icebergs/base/cli" diff --git a/misc/ssh/service_linux.go b/misc/ssh/service_linux.go index 69ce4c93..e055000e 100644 --- a/misc/ssh/service_linux.go +++ b/misc/ssh/service_linux.go @@ -7,7 +7,7 @@ import ( "syscall" "unsafe" - "github.com/creack/pty" + pty "shylinux.com/x/creackpty" "golang.org/x/crypto/ssh" ice "shylinux.com/x/icebergs" "shylinux.com/x/icebergs/base/cli"