use x/term instead of stty/pause to prompt any key

cc #480
This commit is contained in:
Gokcehan committed 2021-02-21 18:01:20 +03:00
1 parent c071e37316
commit 2c3cd35a5d
6 files changed
+17 -33

No files matched your search

-4
View File
@@ -76,10 +76,6 @@ func detachedCommand(name string, arg ...string) *exec.Cmd {
return cmd
}
func pauseCommand() *exec.Cmd {
return exec.Command("cmd", "/c", "pause")
}
func shellCommand(s string, args []string) *exec.Cmd {
args = append([]string{"/c", s}, args...)