Fix garland

This commit is contained in:
GrigRUSS 2018-12-28 08:59:20 +03:00 committed by GitHub
parent 79a7ab7ef9
commit 3d5bc9bb0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,8 +34,7 @@ let new_year++
tput setaf 1; tput bold tput setaf 1; tput bold
tput cup $lin $((c - 6)); echo "С НОВЫМ ГОДОМ!" tput cup $lin $((c - 6)); echo "С НОВЫМ ГОДОМ!"
tput cup $((lin + 1)) $((c - 10)); echo "И хорошего КОДА в $new_year" tput cup $((lin + 1)) $((c - 10)); echo "И хорошего КОДА в $new_year"
# Next string for English version. let c++
#let c++
k=1 k=1
# Lights and decorations # Lights and decorations
@ -59,6 +58,7 @@ while true; do
color=$(((color+1)%8)) color=$(((color+1)%8))
# Flashing text # Flashing text
sh=1 sh=1
let c--
for l in К О Д А for l in К О Д А
do do
tput cup $((lin+1)) $((c+sh)) tput cup $((lin+1)) $((c+sh))
@ -66,6 +66,7 @@ while true; do
let sh++ let sh++
sleep 0.01 sleep 0.01
done done
let c++
} }
k=$((k % 2 + 1)) k=$((k % 2 + 1))
done done