From 948d862bb6ef2ed34c6fd5843f76dd3abb7733e4 Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Wed, 4 Mar 2026 18:23:52 +0300 Subject: [PATCH] scroll past env.lat output before starting TUI When running via env.lat, push the cursor to the bottom of the screen before print_block sets up the TUI, so we don't overwrite env.lat output. Co-Authored-By: Claude Opus 4.6 --- run_onchange_after_install_main_deps.sh.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run_onchange_after_install_main_deps.sh.tmpl b/run_onchange_after_install_main_deps.sh.tmpl index 3ada118..b57e663 100644 --- a/run_onchange_after_install_main_deps.sh.tmpl +++ b/run_onchange_after_install_main_deps.sh.tmpl @@ -184,6 +184,10 @@ fi if [ "$NON_INTERACTIVE" -eq 0 ]; then LINES=$(tput lines) + if [ -n "$ENVLAT" ]; then + # Scroll env.lat output into scrollback so the TUI starts clean + printf '\n%.0s' $(seq 1 $LINES) + fi print_block # Pre-fill env.lat bootstrap steps as already completed if [ -n "$ENVLAT" ]; then