From f1f25b8d148f8e42e9c992f8f69d95e453f1ee4c Mon Sep 17 00:00:00 2001 From: Patrik Cyvoct Date: Mon, 30 Apr 2018 12:08:23 +0200 Subject: [PATCH] Bump dependenices to solve scaleway/scaleway-cli #497 Signed-off-by: Patrik Cyvoct --- vendor/github.com/moby/moby/pkg/term/proxy.go | 4 ++++ vendor/github.com/moby/moby/pkg/term/termios_bsd.go | 2 +- vendor/vendor.json | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/vendor/github.com/moby/moby/pkg/term/proxy.go b/vendor/github.com/moby/moby/pkg/term/proxy.go index 5c4a526..da733e5 100644 --- a/vendor/github.com/moby/moby/pkg/term/proxy.go +++ b/vendor/github.com/moby/moby/pkg/term/proxy.go @@ -34,6 +34,10 @@ func NewEscapeProxy(r io.Reader, escapeKeys []byte) io.Reader { func (r *escapeProxy) Read(buf []byte) (int, error) { nr, err := r.r.Read(buf) + if len(r.escapeKeys) == 0 { + return nr, err + } + preserve := func() { // this preserves the original key presses in the passed in buffer nr += r.escapeKeyPos diff --git a/vendor/github.com/moby/moby/pkg/term/termios_bsd.go b/vendor/github.com/moby/moby/pkg/term/termios_bsd.go index 48f25ce..48b16f5 100644 --- a/vendor/github.com/moby/moby/pkg/term/termios_bsd.go +++ b/vendor/github.com/moby/moby/pkg/term/termios_bsd.go @@ -1,4 +1,4 @@ -// +build darwin freebsd openbsd +// +build darwin freebsd openbsd netbsd package term // import "github.com/docker/docker/pkg/term" diff --git a/vendor/vendor.json b/vendor/vendor.json index d294b98..e53503b 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -39,10 +39,10 @@ "revisionTime": "2017-03-19T17:27:27Z" }, { - "checksumSHA1": "m6E62r796Nb/80CGII5hBCse8jg=", + "checksumSHA1": "pjzyS3NpfF8mSTg1LLTQtnX9JC0=", "path": "github.com/moby/moby/pkg/term", - "revision": "66e6beeb249948634e2815ef5cac97984d5c0d56", - "revisionTime": "2018-02-23T03:12:10Z" + "revision": "d4e48af48d1a2d7427ccd9f950cf6bc6ff5682b6", + "revisionTime": "2018-04-30T09:57:21Z" }, { "checksumSHA1": "9jFFVttlMr6qQ7e+IrcT20XmFQY=",