FIX #8 Add sleep to launch function

Add sleep to launch function to give the launches time to start up
before quitting out of breakfast stomps on them
008-quit-after-launch
Adam Cooper 1 year ago
parent a084c771b7
commit f3e6d604c2
  1. 3
      main.go

@ -7,6 +7,7 @@ import (
"os"
"os/exec"
"strings"
"time"
tea "github.com/charmbracelet/bubbletea"
)
@ -112,6 +113,8 @@ func launch(m model) tea.Cmd {
}
}
time.Sleep(2000 * time.Millisecond)
return result
}
}

Loading…
Cancel
Save