Scale to screen size
This commit is contained in:
parent
2d6d29487c
commit
8cc85edea8
|
@ -304,8 +304,11 @@ function show_domains {
|
|||
fi
|
||||
fi
|
||||
|
||||
width=$(tput cols)
|
||||
height=$(tput lines)
|
||||
|
||||
# shellcheck disable=SC2068
|
||||
dialog --backtitle $"Freedombone Control Panel" --title $"Domains" --menu $"You can use shift+cursors to select text" 28 100 28 "${W[@]}" 3>&2 2>&1 1>&3
|
||||
dialog --backtitle $"Freedombone Control Panel" --title $"Domains" --menu $"" $((height-5)) $((width-5)) $((height-5)) "${W[@]}" 3>&2 2>&1 1>&3
|
||||
}
|
||||
|
||||
function show_domains_old {
|
||||
|
|
Loading…
Reference in New Issue