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[@]}"
|
"languages_${OS}" && echo "${LANGS[@]}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo -n " - Releases: "
|
echo -n " - Releases: "
|
||||||
releases_"${OS}"
|
"releases_${OS}" | fold -s -w "$(tput cols)"
|
||||||
if [[ $(type -t "editions_${OS}") == function ]]; then
|
if [[ $(type -t "editions_${OS}") == function ]]; then
|
||||||
echo -n " - Editions: "
|
echo -n " - Editions: "
|
||||||
editions_"${OS}"
|
editions_"${OS}" | fold -s -w "$(tput cols)"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue