mirror of
https://github.com/AuxXxilium/arc-v.git
synced 2024-11-23 23:11:05 +07:00
arc: fix cmdline menu output
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
c7708790a9
commit
2a753e7893
@ -961,7 +961,8 @@ function cmdlineMenu() {
|
|||||||
MSG+="\nEnter the Parameter Name and Value you want to add.\n"
|
MSG+="\nEnter the Parameter Name and Value you want to add.\n"
|
||||||
LINENUM=$(($(echo -e "${MSG}" | wc -l) + 10))
|
LINENUM=$(($(echo -e "${MSG}" | wc -l) + 10))
|
||||||
while true; do
|
while true; do
|
||||||
dialog --clear --backtitle "$(backtitle)" --title "User Cmdline" \
|
dialog --clear --backtitle "$(backtitle)" \
|
||||||
|
--colors --title "User Cmdline" \
|
||||||
--form "${MSG}" ${LINENUM:-16} 70 2 "Name:" 1 1 "" 1 10 55 0 "Value:" 2 1 "" 2 10 55 0 \
|
--form "${MSG}" ${LINENUM:-16} 70 2 "Name:" 1 1 "" 1 10 55 0 "Value:" 2 1 "" 2 10 55 0 \
|
||||||
2>"${TMP_PATH}/resp"
|
2>"${TMP_PATH}/resp"
|
||||||
RET=$?
|
RET=$?
|
||||||
|
Loading…
Reference in New Issue
Block a user