Format code

This commit is contained in:
2024-08-26 22:17:30 +01:00
parent 28bb428976
commit 8bab68fac3
15 changed files with 1074 additions and 947 deletions

View File

@@ -1,6 +1,6 @@
for i in {0..255} ; do
for i in {0..255}; do
printf "\x1b[48;5;%sm%3d\e[0m " "$i" "$i"
if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then
printf "\n";
if ((i == 15)) || ((i > 15)) && (((i - 15) % 6 == 0)); then
printf "\n"
fi
done