From ba8bc3dc8f4abed6c0fe32a9ae899c52a88e872b Mon Sep 17 00:00:00 2001 From: Tw93 Date: Wed, 17 Dec 2025 03:02:06 +0000 Subject: [PATCH] chore: auto format code --- bin/uninstall.sh | 6 +++--- bin/uninstall_lib.sh | 6 +++--- lib/core/ui.sh | 1 - 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bin/uninstall.sh b/bin/uninstall.sh index ef07cc3..1db3a32 100755 --- a/bin/uninstall.sh +++ b/bin/uninstall.sh @@ -85,9 +85,9 @@ scan_applications() { # Cache hit - return immediately # Show brief flash of cache usage if in interactive mode if [[ -t 2 ]]; then - echo -e "${GREEN}Loading from cache...${NC}" >&2 - # Small sleep to let user see it (optional, but good for "feeling" the speed vs glitch) - sleep 0.3 + echo -e "${GREEN}Loading from cache...${NC}" >&2 + # Small sleep to let user see it (optional, but good for "feeling" the speed vs glitch) + sleep 0.3 fi echo "$cache_file" return 0 diff --git a/bin/uninstall_lib.sh b/bin/uninstall_lib.sh index 7cc1926..b0c9f61 100755 --- a/bin/uninstall_lib.sh +++ b/bin/uninstall_lib.sh @@ -85,9 +85,9 @@ scan_applications() { # Cache hit - return immediately # Show brief flash of cache usage if in interactive mode if [[ -t 2 ]]; then - echo -e "${GREEN}Loading from cache...${NC}" >&2 - # Small sleep to let user see it (optional, but good for "feeling" the speed vs glitch) - sleep 0.3 + echo -e "${GREEN}Loading from cache...${NC}" >&2 + # Small sleep to let user see it (optional, but good for "feeling" the speed vs glitch) + sleep 0.3 fi echo "$cache_file" return 0 diff --git a/lib/core/ui.sh b/lib/core/ui.sh index c367a1f..66ecd68 100755 --- a/lib/core/ui.sh +++ b/lib/core/ui.sh @@ -79,7 +79,6 @@ truncate_by_display_width() { return fi - # Fallback: Use pure bash character iteration # Since we need to know the width of *each* character to truncate at the right spot, # we cannot just use the total width formula on the whole string.