Make the cursor invisible when printing the Fancy output status block.
authorDidier Raboud <odyx@debian.org>
Mon, 23 Apr 2012 13:45:00 +0000 (15:45 +0200)
committerDidier Raboud <odyx@debian.org>
Mon, 23 Apr 2012 13:45:00 +0000 (15:45 +0200)
Signed-off-by: Didier Raboud <odyx@debian.org>
init-functions

index 6c897010998fa2057a2f12a57191717d5027d107..e4e7ab727f04ff08aa435c5fd5ab240a1280d474 100644 (file)
@@ -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 () { :; }