feat: Add folding to shown releases and editions (no more words cutted in half)

This commit is contained in:
zen0bit 2024-04-12 18:25:15 +02:00 committed by Martin Wimpress
parent c703f8518e
commit 15e4726801
1 changed files with 3 additions and 3 deletions

View File

@ -3847,10 +3847,10 @@ else
;;
*)
echo -n " - Releases: "
releases_"${OS}"
"releases_${OS}" | fold -s -w "$(tput cols)"
if [[ $(type -t "editions_${OS}") == function ]]; then
echo -n " - Editions: "
editions_"${OS}"
editions_"${OS}" | fold -s -w "$(tput cols)"
fi
;;
esac