mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
Tweaked the size of the select_repository() widget
This allows all current repos + 1 to fit without scrolling - eventually, the repo list will outgrow the displayable area, but we might as well save scrolling while we can.
This commit is contained in:
parent
e445401c90
commit
90d57940b8
@ -1029,7 +1029,7 @@ select_repository() {
|
|||||||
--menu '"$(crunch "You are currently using sbopkg to browse a \
|
--menu '"$(crunch "You are currently using sbopkg to browse a \
|
||||||
local copy of the $REPO_DESC. If you would \
|
local copy of the $REPO_DESC. If you would \
|
||||||
like to change it, please select another repository below or \
|
like to change it, please select another repository below or \
|
||||||
press <Back> to go back.")"' 17 60 7 \
|
press <Back> to go back.")"' 19 60 9 \
|
||||||
$(
|
$(
|
||||||
for ((i=0; i<${#REPOSITORIES[@]}; i+=$REPOS_FIELDS)); do
|
for ((i=0; i<${#REPOSITORIES[@]}; i+=$REPOS_FIELDS)); do
|
||||||
echo \"${REPOSITORIES[$((i+1))]} \(${REPOSITORIES[$i]}\)\"
|
echo \"${REPOSITORIES[$((i+1))]} \(${REPOSITORIES[$i]}\)\"
|
||||||
|
Loading…
Reference in New Issue
Block a user