From 5037d312fde021dd95d67cf0875634dcf39ecc70 Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 30 Jun 2018 00:44:56 +0100 Subject: [PATCH] Fix cannot correctly get window size A bug caused by not correctly unset IFS to read array --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index a781e224..1f4dd289 100755 --- a/neofetch +++ b/neofetch @@ -3557,6 +3557,7 @@ get_window_size() { # user input so we have to use read to store the out # -put as a variable. IFS=';t' read -d t -t 0.05 -sra term_size + unset IFS # Split the string into height/width. if [[ "$image_backend" == "tycat" ]]; then