From 6d4f6db33d5fe65bb8d86f9342b5ee8fd6049126 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Tue, 24 Sep 2024 15:24:17 +0200 Subject: [PATCH] bugfix: added user input for confirming new config --- cmd/save.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/save.go b/cmd/save.go index 83c994d..12e6308 100644 --- a/cmd/save.go +++ b/cmd/save.go @@ -37,6 +37,7 @@ var saveCmd = &cobra.Command{ var input string fmt.Print("Save this data? (Y/n) ") + fmt.Scanln(&input) if input == "" || strings.ToLower(input) == "y" { util.SaveConfig(cfgPath, config) }