Fix bug of infobox not displaying
This commit is contained in:
parent
16a3ee1a61
commit
adc84b4cce
|
@ -6,6 +6,9 @@ displayDialogBox() {
|
|||
if [ "$1" = "--menu" ]; then
|
||||
useWhiptailMenu "$@"
|
||||
else
|
||||
if [ "$1" = "--infobox" ] && tty | grep -q "/dev/pts"; then
|
||||
local TERM=ansi
|
||||
fi
|
||||
useWhiptail "$@"
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue