Add --hscroll-off=COL option

Close #513
This commit is contained in:
Junegunn Choi
2016-03-02 03:06:21 +09:00
parent cf8afc527e
commit 2ccdf21a1f
5 changed files with 43 additions and 5 deletions

View File

@@ -21,6 +21,14 @@ func Max(first int, items ...int) int {
return max
}
// Min returns the smallest integer
func Min(first int, second int) int {
if first <= second {
return first
}
return second
}
// Min32 returns the smallest 32-bit integer
func Min32(first int32, second int32) int32 {
if first <= second {