Add --no-hscroll option to disable horizontal scroll

Close #193
This commit is contained in:
Junegunn Choi
2015-04-16 12:56:01 +09:00
parent 3e1e75fe08
commit 48ab87294b
4 changed files with 50 additions and 20 deletions

View File

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