From 8572cf9a0888e1d68428be882d755e5c23a7698e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 7 May 2017 09:55:24 +1000 Subject: [PATCH] W3m: Fix zws --- neofetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index 9a233032..cabe0bb2 100755 --- a/neofetch +++ b/neofetch @@ -2530,7 +2530,7 @@ display_image() { printf "%b\n" "0;1;$xoffset;$yoffset;$width;$height;;;;;$image\n4;\n3;" |\ "${w3m_img_path:-false}" -bg "$background_color" >/dev/null & 2>&1 || to_off "Image: w3m-img failed to display the image." - zws="​ " + zws="\xE2\x80\x8B\x20" ;; esac } @@ -2737,11 +2737,11 @@ get_underline() { get_line_break() { # Print it directly. - printf "%s\n" "${zws}" + printf "%b\n" "${zws}" # Calculate info height. ((++info_height)) - line_breaks+=$'\n' + line_breaks+="\n" # Tell info() that we printed manually. prin=1