From 5aaab244cebae723d72ca14d125fc8359146d893 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 5 Feb 2016 11:46:00 +1100 Subject: [PATCH] Only re-enabled line wrap if we disabled it in the first place --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index 54620a4e..c2ec6e45 100755 --- a/fetch +++ b/fetch @@ -2221,7 +2221,7 @@ if [ "$image" != "off" ]; then fi # Re-enable line wrap -printf "%b%s" "\033[?25h" +[ "$line_wrap" == "off" ] && printf "%b%s" "\033[?7h" # If enabled take a screenshot if [ "$scrot" == "on" ]; then