fix: clear screen on each module transition to prevent old output piling up

This commit is contained in:
2026-05-29 13:23:48 +02:00
parent 3b96713771
commit 05a07ff006

View File

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