1
0
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:
Tw93
2026-01-04 17:41:14 +08:00
parent aedeed1817
commit 3906c020fe
3 changed files with 16 additions and 1 deletions

View File

@@ -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
}