From 86e266e5b7e2d7ff8411f4081cd2bc12b3b79280 Mon Sep 17 00:00:00 2001 From: Syphist Date: Tue, 25 Aug 2020 04:49:06 -0500 Subject: [PATCH] Made comment accurate --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index f5665123..785836ea 100755 --- a/neofetch +++ b/neofetch @@ -3878,7 +3878,7 @@ print_ascii() { while IFS=$'\n' read -r line; do line=${line//\\\\/\\} line=${line//█/ } - # Use Regex through sed to remove color and formatting codes + # Use patterns to replace color codes line=${line//\\033\[*([0-9;])[JKmsu]/} line=${line//\[*([0-9;])[JKmsu]/} ((++lines,${#line}>ascii_len)) && ascii_len="${#line}"