summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDawid Dziurla <dawidd0811@gmail.com>2020-03-25 10:37:10 +0100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-25 21:26:15 +1100
commitc831ad39c905d85f2b5a9d8bf2d7c3da5b8a6e71 (patch)
tree5fbd9375bc4039d883b91e5563083db050f6e4bf
parent0cf78ea9ad996616467c7f8f73893b9d6bcb940c (diff)
pkg: use upstream pty package
-rw-r--r--pkg/commands/exec_live_default.go2
-rw-r--r--pkg/gui/pty.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/exec_live_default.go b/pkg/commands/exec_live_default.go
index 839575d02..0e43a6741 100644
--- a/pkg/commands/exec_live_default.go
+++ b/pkg/commands/exec_live_default.go
@@ -10,7 +10,7 @@ import (
"github.com/go-errors/errors"
- "github.com/jesseduffield/pty"
+ "github.com/creack/pty"
)
// RunCommandWithOutputLiveWrapper runs a command and return every word that gets written in stdout
diff --git a/pkg/gui/pty.go b/pkg/gui/pty.go
index 39642b7f0..68cc3991f 100644
--- a/pkg/gui/pty.go
+++ b/pkg/gui/pty.go
@@ -5,7 +5,7 @@ package gui
import (
"os/exec"
- "github.com/jesseduffield/pty"
+ "github.com/creack/pty"
)
func (gui *Gui) onResize() error {