refactor(nav): use exit code 75 to suppress redundant "Press Enter" prompt
- app submenus return 75 on back/exit instead of 0 - index menus capture child exit code and skip pause when rc is 75 - applies to apps (coolify, pterodactyl, uptime-kuma, cloudpanel, proxmox) and tools (server-benchmark, system-infos) indexes
This commit is contained in:
@@ -28,13 +28,7 @@ SCORE_NETWORK_LATENCY=0
|
||||
# ═══════════════════════════════════════════════════════════════════════════
|
||||
|
||||
show_header() {
|
||||
echo -e "${WHITE}${BOLD}"
|
||||
echo "╔═══════════════════════════════════════════════════════════════════════════╗"
|
||||
echo "║ ║"
|
||||
echo "║ SERVER PERFORMANCE BENCHMARK ║"
|
||||
echo "║ ║"
|
||||
echo "╚═══════════════════════════════════════════════════════════════════════════╝"
|
||||
echo -e "${NC}"
|
||||
show_box_top "SERVER PERFORMANCE BENCHMARK"
|
||||
}
|
||||
|
||||
install_dependencies() {
|
||||
@@ -760,4 +754,5 @@ fi
|
||||
|
||||
# Execute main function
|
||||
main
|
||||
exit 75
|
||||
|
||||
|
||||
Reference in New Issue
Block a user