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 <noreply@anthropic.com>
This commit is contained in:
parent
95c88c3ce1
commit
948d862bb6
@ -184,6 +184,10 @@ fi
|
|||||||
|
|
||||||
if [ "$NON_INTERACTIVE" -eq 0 ]; then
|
if [ "$NON_INTERACTIVE" -eq 0 ]; then
|
||||||
LINES=$(tput lines)
|
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
|
print_block
|
||||||
# Pre-fill env.lat bootstrap steps as already completed
|
# Pre-fill env.lat bootstrap steps as already completed
|
||||||
if [ -n "$ENVLAT" ]; then
|
if [ -n "$ENVLAT" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user