diff --git a/diagnostics/info.sh b/diagnostics/info.sh index 32875200..f92c594c 100755 --- a/diagnostics/info.sh +++ b/diagnostics/info.sh @@ -87,9 +87,10 @@ _ask_module() { cat 1>&2 <&2 local response while true; do - _tput cup "$(( $(tput lines 2>/dev/null || echo 22) - 1 ))" + _tput cup "$(( $(tput lines || echo 22) - 2 ))" _tput el read -er -p "Collect $(sed 's/_/ /' <<< "$1") data? [Y/n] " response case "$response" in