Browse Source

multilinesnake output

main
crunk 4 years ago
parent
commit
763448a5f4
  1. 2
      snakelogan

2
snakelogan

@ -46,7 +46,7 @@ function save_the_snake() {
printf ${IMAGE["${i};${j}"]} printf ${IMAGE["${i};${j}"]}
done done
done >> thesnake done >> thesnake
#sed -e "s/.\{$((width-1))\}/&\n/g" < thesnake > snake80 sed -e "s/.\{$COLUMNS\}/&\n/g" < thesnake > multilinesnake
} }
function show_the_snake() { function show_the_snake() {

Loading…
Cancel
Save