From ada00c9bb901eeef74b543ba370a642042eb186f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 13 Aug 2016 18:39:06 +1000 Subject: [PATCH] Combine escape sequences --- neofetch | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/neofetch b/neofetch index 49ae825c..a64e7529 100755 --- a/neofetch +++ b/neofetch @@ -2992,8 +2992,8 @@ main() { # Clear the scren clear - # Hide the cursor - printf "\033[?25l" + # Hide the cursor and disable line wrap + printf "\033[?25l\033[?7l" # Images {{{ @@ -3039,9 +3039,6 @@ main() { # }}} - # Disable line wrap - printf "\033[?7l" - # Move cursor to the top [ "$image" != "off" ] && printf "\033[0H"