fix: clear screen on each module transition to prevent old output piling up
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user