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
This commit is contained in:
parent
a084c771b7
commit
f3e6d604c2
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
@ -7,6 +7,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
|
|
||||||
tea "github.com/charmbracelet/bubbletea"
|
tea "github.com/charmbracelet/bubbletea"
|
||||||
)
|
)
|
||||||
|
@ -112,6 +113,8 @@ func launch(m model) tea.Cmd {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
time.Sleep(2000 * time.Millisecond)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue