From 1e2eea5ce87fdcf36518a3d5beec1b68f473d39e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 6 Apr 2019 01:13:02 +0200 Subject: [PATCH] bump konsorten/go-windows-terminal-sequences v1.0.2 Add Linux build support; Increase compatibility as the module will appear empty and cause an error on Linux. Signed-off-by: Sebastiaan van Stijn --- vendor.conf | 2 +- .../konsorten/go-windows-terminal-sequences/README.md | 1 + .../go-windows-terminal-sequences/sequences_dummy.go | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go diff --git a/vendor.conf b/vendor.conf index 4fc2167e6e..8021f0200c 100644 --- a/vendor.conf +++ b/vendor.conf @@ -8,7 +8,7 @@ github.com/golang/gddo 9b12a26f3fbd7397dee4e20939ddca719d840d2a github.com/google/uuid v1.1.1 github.com/gorilla/mux v1.7.0 github.com/Microsoft/opengcs a10967154e143a36014584a6f664344e3bb0aa64 -github.com/konsorten/go-windows-terminal-sequences v1.0.1 +github.com/konsorten/go-windows-terminal-sequences f55edac94c9bbba5d6182a4be46d86a2c9b5b50e # v1.0.2 github.com/kr/pty 521317be5ebc228a0f0ede099fa2a0b5ece22e49 # v1.1.4 github.com/mattn/go-shellwords a72fbe27a1b0ed0df2f02754945044ce1456608b # v1.0.5 github.com/sirupsen/logrus 8bdbc7bcc01dcbb8ec23dc8a28e332258d25251f # v1.4.1 diff --git a/vendor/github.com/konsorten/go-windows-terminal-sequences/README.md b/vendor/github.com/konsorten/go-windows-terminal-sequences/README.md index 949b77e304..195333e51d 100644 --- a/vendor/github.com/konsorten/go-windows-terminal-sequences/README.md +++ b/vendor/github.com/konsorten/go-windows-terminal-sequences/README.md @@ -26,6 +26,7 @@ The tool is sponsored by the [marvin + konsorten GmbH](http://www.konsorten.de). We thank all the authors who provided code to this library: * Felix Kollmann +* Nicolas Perraut ## License diff --git a/vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go b/vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go new file mode 100644 index 0000000000..df61a6f2f6 --- /dev/null +++ b/vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go @@ -0,0 +1,11 @@ +// +build linux darwin + +package sequences + +import ( + "fmt" +) + +func EnableVirtualTerminalProcessing(stream uintptr, enable bool) error { + return fmt.Errorf("windows only package") +}