home

Code Library

function QTRTROWS() {
  local rows=$(odd_or_less $(tput lines)) # Use 'local' to keep variables within the function's scope.
  (( rows = rows / 4 ))
  echo "$rows"
}