From 5d4212853c92909e07ab20d78007425c904b6f00 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 26 Mar 2016 13:41:49 +1100 Subject: [PATCH] Fix hang with travis --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index f3f94908..76ddb566 100755 --- a/neofetch +++ b/neofetch @@ -2871,7 +2871,7 @@ printinfo if [ "$image" != "off" ]; then # Get cursor position - info_height="$(IFS=';' read -srdR -p $'\033[6n' ROW COL; printf "%s" "${ROW#*[}")" + info_height="$(IFS=';' read -srdR -t 1 -p $'\033[6n' ROW COL; printf "%s" "${ROW#*[}")" # Set cursor position dynamically based on height of ascii/text. [ "$lines" -lt "$info_height" ] && lines="$info_height"