From 014efbdb040cee2d32039bf249bc2c179fcbdc0d Mon Sep 17 00:00:00 2001 From: openoms Date: Thu, 16 Jul 2020 15:08:13 +0100 Subject: [PATCH] don't clear when exiting dialog --- scripts/menu.functions.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/menu.functions.sh b/scripts/menu.functions.sh index eb4c0a5..a83e37b 100755 --- a/scripts/menu.functions.sh +++ b/scripts/menu.functions.sh @@ -7,14 +7,12 @@ openMenuIfCancelled() { pressed=$1 case $pressed in 1) - clear echo "Cancelled" echo "Returning to the menu..." sleep 1 /home/joinmarket/menu.sh exit 1;; 255) - clear echo "ESC pressed." echo "Returning to the menu..." sleep 1 @@ -59,7 +57,7 @@ esac # chooseWallet chooseWallet() { wallet=$(tempfile 2>/dev/null) -dialog --backtitle "Choose a wallet" \ +dialog --backtitle "Choose a wallet by typing the full name of the file" \ --title "Choose a wallet by typing the full name of the file" \ --fselect "$walletPath" 10 60 2> $wallet openMenuIfCancelled $?