From 19eb9ef4e7286cbed44b83f7c74668bed2cf32d1 Mon Sep 17 00:00:00 2001 From: Super Manito <68613938+SuperManito@users.noreply.github.com> Date: Mon, 17 Mar 2025 01:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=A4=E4=BA=92=E6=89=93?= =?UTF-8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeMirrors.sh | 6 ++++-- DockerInstallation.sh | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeMirrors.sh b/ChangeMirrors.sh index d7789d4..2f6c044 100755 --- a/ChangeMirrors.sh +++ b/ChangeMirrors.sh @@ -2559,7 +2559,8 @@ function interactive_select_mirror() { tput rc tput cnorm tput rmcup - exit + echo -e "\n${TIP} ${RED}操作已取消${PLAIN}\n" + exit 130 } function draw_menu() { tput clear @@ -2649,7 +2650,8 @@ function interactive_select_boolean() { function cleanup() { clear_menu tput cnorm - exit + echo -e "\n${TIP} ${RED}操作已取消${PLAIN}\n" + exit 130 } function draw_menu() { # 绘制菜单不改变光标位置 diff --git a/DockerInstallation.sh b/DockerInstallation.sh index 890fd95..70eb6fb 100755 --- a/DockerInstallation.sh +++ b/DockerInstallation.sh @@ -1111,7 +1111,8 @@ function interactive_select_mirror() { tput rc tput cnorm tput rmcup - exit + echo -e "\n${TIP} ${RED}操作已取消${PLAIN}\n" + exit 130 } function draw_menu() { tput clear @@ -1201,7 +1202,8 @@ function interactive_select_boolean() { function cleanup() { clear_menu tput cnorm - exit + echo -e "\n${TIP} ${RED}操作已取消${PLAIN}\n" + exit 130 } function draw_menu() { # 绘制菜单不改变光标位置