mirror of
https://github.com/tw93/Mole.git
synced 2026-02-09 16:04:16 +00:00
fix: improve cleanup by exiting alt screen and refine whitelisting for directory paths and R renv cache.
This commit is contained in:
@@ -18,6 +18,10 @@ source "$SCRIPT_DIR/../lib/ui/menu_paginated.sh"
|
||||
|
||||
|
||||
cleanup() {
|
||||
if [[ "${IN_ALT_SCREEN:-0}" == "1" ]]; then
|
||||
leave_alt_screen
|
||||
IN_ALT_SCREEN=0
|
||||
fi
|
||||
show_cursor
|
||||
cleanup_temp_files
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user