mirror of
https://github.com/tw93/Mole.git
synced 2026-02-10 02:04:17 +00:00
Optimize the key usage experience
This commit is contained in:
@@ -137,6 +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
|
||||
case "$key" in
|
||||
$'\e' | q | Q)
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user