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:
2026-05-12 22:28:16 -04:00
parent c7dcaed0bf
commit 173b3bd581
9 changed files with 42 additions and 43 deletions
+2 -7
View File
@@ -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