diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-06-27 10:13:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-27 10:13:12 +0000 |
| commit | 17fde80ece0e7aab5635b50aaf9d81d19ba319d2 (patch) | |
| tree | 5c73c71475bf85423ddc8ca327faa6367bfa45df | |
| parent | 4b60c557a943622ad22bf819b1c81f7725830b99 (diff) | |
| parent | 2a12637f5980d6b8997bd8e67e96e1e433061144 (diff) | |
Merge pull request #181 from return42/fix-lib
[fix] utils/lib.sh: prefix_stdout show cursor (ANSI escape \e[?25h)
| -rwxr-xr-x | utils/lib.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |