diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-18 22:18:48 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-12-18 22:18:48 +1100 |
commit | 11c7cbe3ac2adf4f6e717640df7a49e5a916d753 (patch) | |
tree | 732aed65cafd294f621b44cc5dd784743640bdaf | |
parent | 276ac3a92ea101a2ba599022cd1caffc66934583 (diff) |
bump pty fork
-rw-r--r-- | Gopkg.lock | 6 | ||||
-rw-r--r-- | Gopkg.toml | 4 | ||||
-rw-r--r-- | vendor/github.com/jesseduffield/pty/run.go | 8 |
3 files changed, 13 insertions, 5 deletions
diff --git a/Gopkg.lock b/Gopkg.lock index f5ef4c76c..7168338ef 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -196,12 +196,12 @@ revision = "03e26ff3f1de2c1bc2205113c3aba661312eee00" [[projects]] - digest = "1:15416fd2b58d5b2dfa0bc99185cdff3a8f49e73e022291891cb8d5d820d9760d" + branch = "master" + digest = "1:a46c2f4863e5284ddb255c28750298e04bc8c0fc896bed6056e947673168b7be" name = "github.com/jesseduffield/pty" packages = ["."] pruneopts = "NUT" - revision = "db8e3cd836b82e82e0a9c8edc6896967dd31374f" - version = "v1.1.3" + revision = "02db52c7e406c7abec44c717a173c7715e4c1b62" [[projects]] branch = "master" diff --git a/Gopkg.toml b/Gopkg.toml index 1f0b03cee..a645c905f 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -38,6 +38,10 @@ name = "github.com/jesseduffield/gocui" [[constraint]] + branch = "master" + name = "github.com/jesseduffield/pty" + +[[constraint]] name = "gopkg.in/src-d/go-git.v4" revision = "43d17e14b714665ab5bc2ecc220b6740779d733f" diff --git a/vendor/github.com/jesseduffield/pty/run.go b/vendor/github.com/jesseduffield/pty/run.go index 2d7f96119..dda19b760 100644 --- a/vendor/github.com/jesseduffield/pty/run.go +++ b/vendor/github.com/jesseduffield/pty/run.go @@ -33,9 +33,13 @@ func StartWithSize(c *exec.Cmd, sz *Winsize) (pty *os.File, err error) { return nil, err } } - c.Stdout = tty + if c.Stdout == nil { + c.Stdout = tty + } + if c.Stderr == nil { + c.Stderr = tty + } c.Stdin = tty - c.Stderr = tty if c.SysProcAttr == nil { c.SysProcAttr = &syscall.SysProcAttr{} } |