diff --git a/dashboard/src/ui/mod.rs b/dashboard/src/ui/mod.rs index 31c5247..3f3cb25 100644 --- a/dashboard/src/ui/mod.rs +++ b/dashboard/src/ui/mod.rs @@ -246,18 +246,7 @@ impl TuiApp { if let Some(hostname) = self.current_host.clone() { // Create command that shows logo, rebuilds, and waits for user input let logo_and_rebuild = format!( - r"bash -c 'cat << \"EOF\" -NixOS System Rebuild -Target: {} - -EOF -ssh -tt {}@{} \"bash -ic {}\" -echo -echo \"========================================\" -echo \"Rebuild completed. Press any key to close...\" -echo \"========================================\" -read -n 1 -s -exit'", + "bash -c 'cat << \"EOF\"\nNixOS System Rebuild\nTarget: {}\n\nEOF\nssh -tt {}@{} \"bash -ic {}\"\necho\necho \"========================================\"\necho \"Rebuild completed. Press any key to close...\"\necho \"========================================\"\nread -n 1 -s\nexit'", hostname, self.config.ssh.rebuild_user, hostname,