From afeef6182e763c6479363abdb6595abbf847fd9b Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Mon, 23 Apr 2012 15:45:00 +0200 Subject: [PATCH] Make the cursor invisible when printing the Fancy output status block. Signed-off-by: Didier Raboud --- init-functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init-functions b/init-functions index 6c89701..e4e7ab7 100644 --- a/init-functions +++ b/init-functions @@ -413,6 +413,7 @@ log_end_msg_pre () { YELLOW=$( $TPUT setaf 3) NORMAL=$( $TPUT op) + $TPUT civis $TPUT sc $TPUT hpa 0 if [ $1 -eq 0 ]; then @@ -423,6 +424,7 @@ log_end_msg_pre () { /bin/echo -ne "[${RED}FAIL${NORMAL}" fi $TPUT rc + $TPUT cnorm fi } log_end_msg_post () { :; } -- 2.30.2