From 15e4726801f0380c65c5523f3d06c37ccb739227 Mon Sep 17 00:00:00 2001 From: zen0bit Date: Fri, 12 Apr 2024 18:25:15 +0200 Subject: [PATCH] feat: Add folding to shown releases and editions (no more words cutted in half) --- quickget | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickget b/quickget index 5bd4b5e..122dd86 100755 --- a/quickget +++ b/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