1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-15 19:15:04 +00:00

🐛 update

This commit is contained in:
Tw93
2025-09-25 21:17:48 +08:00
parent fb6f511e80
commit 7267f8c7e9
2 changed files with 1 additions and 17 deletions

View File

@@ -35,19 +35,6 @@ clear_screen() {
printf '\033[2J\033[H'
}
show_header() {
local title="$1"
local subtitle="$2"
clear_screen
echo -e "${BLUE}$title${NC}"
echo "================================================="
if [[ -n "$subtitle" ]]; then
echo -e "${PURPLE}$subtitle${NC}"
echo ""
fi
}
# Keyboard input handling (simple and robust)
read_key() {
local key rest

5
mole
View File

@@ -47,11 +47,8 @@ show_main_menu() {
local redraw_full="${2:-true}"
if [[ "$redraw_full" == "true" ]]; then
show_header "🧹Mole - Dig deep to clean your mac."
echo "🍎 Detected: $(detect_architecture) | 💾 Free space: $(get_free_space)"
echo ""
echo "What would you like to do?"
echo ""
echo "❤️ What do you want Mole to do for you?"
fi
# Save cursor position before printing menu items