1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-31 14:36:32 +00:00
Files
rke/vendor/github.com/Azure/go-ansiterm/winterm/utilities.go
Darren Shepherd 1831ff1574 Update vendor
2020-03-27 10:55:19 -07:00

10 lines
291 B
Go

// +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)
}