diff --git a/CHANGELOG.md b/CHANGELOG.md index 330c1ee..c5791e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/) ## Changed - Prefix error message with ERROR +- Fix new line with clear input ## v1.0.0 - 2019-07-12 diff --git a/gpm/cli.go b/gpm/cli.go index 48da39b..829878d 100644 --- a/gpm/cli.go +++ b/gpm/cli.go @@ -112,7 +112,6 @@ func (c *Cli) input(text string, defaultValue string, show bool) string { input := bufio.NewScanner(os.Stdin) input.Scan() if input.Text() == "" { - fmt.Printf("\n") return defaultValue } return input.Text()