change any key to enter

This commit is contained in:
2023-06-19 23:59:41 +01:00
parent 82b14f09a3
commit 2ef823580d
2 changed files with 2 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ func getPassword(args ...any) (string, error) {
}
func pause() {
fmt.Print("Press any key to continue...")
fmt.Print("Press Enter to continue...")
term.ReadPassword(int(os.Stdin.Fd()))
fmt.Println()
}