From 05a07ff006642db4eb6ba54ad0cc6b1489b73674 Mon Sep 17 00:00:00 2001 From: Pepe44DEV Date: Fri, 29 May 2026 13:23:48 +0200 Subject: [PATCH] fix: clear screen on each module transition to prevent old output piling up --- lib/tui-fs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tui-fs.sh b/lib/tui-fs.sh index 31412b8..6375dfd 100644 --- a/lib/tui-fs.sh +++ b/lib/tui-fs.sh @@ -40,6 +40,7 @@ tui_fs_set_overall() { _tui_fs_draw_screen() { [[ "$TUI_FS_ACTIVE" -eq 0 ]] && return tput cup 0 0 2>/dev/null || true + tput clear 2>/dev/null || true local cols=$TUI_FS_COLS local cols_safe=$((cols > 60 ? cols : 60))