Make Holidays inclusive!
This commit is contained in:
parent
b10fd65d68
commit
72c76d1782
|
@ -46,7 +46,7 @@ done
|
||||||
tput setaf 1
|
tput setaf 1
|
||||||
tput bold
|
tput bold
|
||||||
tput cup "$lines" "$(( cur_col - 6 ))"
|
tput cup "$lines" "$(( cur_col - 6 ))"
|
||||||
printf 'MERRY CHRISTMAS\n'
|
printf 'HAPPY HOLIDAYS\n'
|
||||||
tput cup "$(( lines + 1 ))" "$(( cur_col - 10 ))"
|
tput cup "$(( lines + 1 ))" "$(( cur_col - 10 ))"
|
||||||
printf 'And lots of CODE in %d\n' "$new_year"
|
printf 'And lots of CODE in %d\n' "$new_year"
|
||||||
|
|
||||||
|
@ -65,8 +65,8 @@ while true; do
|
||||||
tput bold
|
tput bold
|
||||||
tput cup "${line[$needle_pos]}" "${column[$needle_pos]}"
|
tput cup "${line[$needle_pos]}" "${column[$needle_pos]}"
|
||||||
printf '*'
|
printf '*'
|
||||||
unset line["$needle_pos"]
|
unset "line[$needle_pos]"
|
||||||
unset column["$needle_pos"]
|
unset "column[$needle_pos]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
new_line=$(( RANDOM % 9 + 3 ))
|
new_line=$(( RANDOM % 9 + 3 ))
|
||||||
|
|
Loading…
Reference in New Issue