diff --git a/launcher/main.go b/launcher/main.go index ca29f34..6492bb6 100644 --- a/launcher/main.go +++ b/launcher/main.go @@ -268,6 +268,11 @@ func Run(cmd *cobra.Command, args []string) error { os.Exit(1) } + // TODO this feels hacky and should probably be replaced + execCmd := exec.Command("clear") + execCmd.Stdout = os.Stdout + execCmd.Run() + if finalModel, ok := finalModel.(model); ok && finalModel.shouldExec != "" { execCmd := exec.Command(finalModel.shouldExec) execCmd.Stdin = os.Stdin