From 56e24675a8be58326209cdcd6720e25ff83748bc Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:22:59 +0000 Subject: [PATCH] update --- cmd/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/main.go b/cmd/main.go index 2589936..985edcd 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -85,4 +85,8 @@ func main() { fmt.Printf(res) fmt.Println("--------------------------------------------------") // TODO https://github.com/devlights/diskio + if runtime.GOOS == "windows" || runtime.GOOS == "darwin" { + fmt.Println("Press Enter to exit...") + fmt.Scanln() + } }