Merge pull request #181 from return42/fix-lib

[fix] utils/lib.sh: prefix_stdout show cursor (ANSI escape \e[?25h)
This commit is contained in:
Markus Heiser 2021-06-27 10:13:12 +00:00 committed by GitHub
commit 17fde80ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {