hide cursor
This commit is contained in:
parent
d0662535ae
commit
996faec6f8
10
departure.sh
10
departure.sh
|
@ -5,6 +5,14 @@ if [ -z "$(which jq)" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
trap do_exit INT
|
||||
|
||||
do_exit() {
|
||||
tput cvvis # unhide cursor
|
||||
exit 0
|
||||
}
|
||||
|
||||
tput civis # hide cursor
|
||||
CHCHPOSITION=0
|
||||
|
||||
while true; do
|
||||
|
@ -335,3 +343,5 @@ while true; do
|
|||
fi
|
||||
sleep 10
|
||||
done
|
||||
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue