mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-12-26 01:46:35 +08:00
优化交互打印
This commit is contained in:
@@ -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() {
|
||||
# 绘制菜单不改变光标位置
|
||||
|
||||
@@ -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() {
|
||||
# 绘制菜单不改变光标位置
|
||||
|
||||
Reference in New Issue
Block a user