mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 04:27:46 +01:00
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:
commit
17fde80ece
@ -270,6 +270,8 @@ prefix_stdout () {
|
|||||||
(while IFS= read line; do
|
(while IFS= read line; do
|
||||||
echo -e "${prefix}$line"
|
echo -e "${prefix}$line"
|
||||||
done)
|
done)
|
||||||
|
# some piped commands hide the cursor, show cursory when the stream ends
|
||||||
|
echo -en "\e[?25h"
|
||||||
}
|
}
|
||||||
|
|
||||||
append_line() {
|
append_line() {
|
||||||
|
Loading…
Reference in New Issue
Block a user