diff --git a/utils/lib.sh b/utils/lib.sh
index 8867bfe8e..b75e3376b 100755
--- a/utils/lib.sh
+++ b/utils/lib.sh
@@ -270,6 +270,8 @@ prefix_stdout () {
     (while IFS= read line; do
         echo -e "${prefix}$line"
     done)
+    # some piped commands hide the cursor, show cursory when the stream ends
+    echo -en "\e[?25h"
 }
 
 append_line() {