mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 20:54:50 +00:00
Keyboard optimization processing and log performance optimization
This commit is contained in:
@@ -17,7 +17,7 @@ decode_file_list() {
|
||||
local decoded
|
||||
|
||||
# Decode base64 data
|
||||
if ! decoded=$(printf '%s' "$encoded" | base64 -d 2>/dev/null); then
|
||||
if ! decoded=$(printf '%s' "$encoded" | base64 -d 2> /dev/null); then
|
||||
log_error "Failed to decode file list for $app_name"
|
||||
echo ""
|
||||
return 1
|
||||
@@ -137,7 +137,7 @@ batch_uninstall_applications() {
|
||||
echo -ne "${PURPLE}${ICON_ARROW}${NC} ${removal_note}. Press ${GREEN}Enter${NC} to confirm, ${GRAY}ESC${NC} to cancel: "
|
||||
|
||||
IFS= read -r -s -n1 key || key=""
|
||||
drain_pending_input # Clean up any escape sequence remnants
|
||||
drain_pending_input # Clean up any escape sequence remnants
|
||||
case "$key" in
|
||||
$'\e' | q | Q)
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user