From 2c881c11f5131a21e35c263623d553dabc991e94 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 29 Mar 2016 11:11:28 +1100 Subject: [PATCH] Fix broken terminal --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 5a4d4e74..3cdabf37 100755 --- a/neofetch +++ b/neofetch @@ -2844,7 +2844,7 @@ printinfo if [ "$image" != "off" ]; then # Get cursor position - info_height="$(stty -echo; IFS=';' read -rdR -t 1 -d c -p $'\033[6n\033[c' ROW COL; printf "%s" "${ROW#*[}")" + info_height="$(stty -echo; IFS=';' read -rdR -t 1 -d c -p $'\033[6n\033[c' ROW COL; printf "%s" "${ROW#*[}"; stty echo)" # If get cursor pos fails set the value to 0 [ -z "$info_height" ] && info_height=0