vendor: add github.com/Azure/go-ansiterm for --progress on Windows support

This commit is contained in:
Nick Craig-Wood
2018-08-26 17:20:38 +01:00
parent b6db90cc32
commit 18685e6b0b
29 changed files with 3175 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// +build windows
package winterm
// AddInRange increments a value by the passed quantity while ensuring the values
// always remain within the supplied min / max range.
func addInRange(n int16, increment int16, min int16, max int16) int16 {
return ensureInRange(n+increment, min, max)
}