feat: Add folding to shown releases and editions (no more words cutted in half)
This commit is contained in:
parent
c703f8518e
commit
15e4726801
6
quickget
6
quickget
|
@ -3846,11 +3846,11 @@ else
|
|||
"languages_${OS}" && echo "${LANGS[@]}"
|
||||
;;
|
||||
*)
|
||||
echo -n " - Releases: "
|
||||
releases_"${OS}"
|
||||
echo -n " - Releases: "
|
||||
"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
|
||||
|
|
Loading…
Reference in New Issue