27 ms·
Need a space after each `for` keyword. A while back there was a whole post about making it snow in your terminal [1]. I think my favorite was [2]: while s
by andelink 2y ago
Need a space after each `for` keyword.
A while back there was a whole post about making it snow in your terminal [1]. I think my favorite was [2]:
while sleep 0.1; do printf "%-$(( ( RANDOM % `tput cols` ) - 1))s\e[0;$(( 30 + ($RANDOM % 8) ))m*\n" ; done
[1] https://news.ycombinator.com/item?id=38652339 https://news.ycombinator.com/item?id=38652339
[2] https://news.ycombinator.com/item?id=38654884 https://news.ycombinator.com/item?id=38654884