From dfea8199a96316988256e907e1d6005c28a95548 Mon Sep 17 00:00:00 2001 From: darrenhinde <107584450+darrenhinde@users.noreply.github.com> Date: Tue, 18 Nov 2025 14:26:59 +0000 Subject: [PATCH] fix: don't clear screen in non-interactive mode Problem: - When running 'curl ... | bash -s core' the screen would clear - This made it appear like nothing was happening after preview - Users couldn't see the installation progress Solution: - Only call 'clear' in interactive mode - Skip clear when NON_INTERACTIVE=true - Allows users to see full output when piped from curl Now users can see: - Dependency checks - Registry fetch - Installation preview - 'Installing automatically' message - Full installation progress - Completion message This makes the installation process transparent and debuggable. --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3608212..daaa866 100755 --- a/install.sh +++ b/install.sh @@ -455,7 +455,10 @@ show_component_selection() { ############################################################################# show_installation_preview() { - clear + # Only clear screen in interactive mode + if [ "$NON_INTERACTIVE" != true ]; then + clear + fi print_header echo -e "${BOLD}Installation Preview${NC}\n"