use line_max

This commit is contained in:
Dylan Araps committed 2020-08-03 20:24:13 +03:00
1 parent 41fb721b3a
commit c9e05439c9
1 file changed
+2 -4
+2 -4
View File
@@ -91,11 +91,9 @@ main() {
;;
j?|B2) # ARROW DOWN
end=$(($# < line_max ? $# : line_max))
case $y in
"$end")
y=$end
"$line_max")
y=$line_max
;;
*)